Ignore:
Timestamp:
Apr 24, 2017, 3:47:05 PM (2 years ago)
Author:
cameron
Message:

lz4d cmake entry and test case

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/CMakeLists.txt

    r5405 r5423  
    9999add_executable(editd editd/editd.cpp editd/pattern_compiler.cpp editd/editdscan_kernel.cpp editd/editd_gpu_kernel.cpp editd/editd_cpu_kernel.cpp)
    100100add_executable(array-test array-test.cpp kernels/alignedprint.cpp)
     101add_executable(lz4d lz4d.cpp lz4FrameDecoder.cpp kernels/cc_kernel.cpp kernels/lz4_index_decoder.cpp kernels/lz4_bytestream_decoder.cpp)
    101102
    102103## IWYU detects superfluous includes and when the include can be replaced with a forward declaration.
     
    135136target_link_libraries (editd UCDlib PabloADT RegExpCompiler CCADT CodeGen ${REQ_LLVM_LIBRARIES} ${Boost_LIBRARIES} ${CUDA_LIB})
    136137target_link_libraries (array-test PabloADT CodeGen ${REQ_LLVM_LIBRARIES} ${Boost_LIBRARIES} ${CUDA_LIB})
     138target_link_libraries (lz4d PabloADT RegExpCompiler CodeGen ${REQ_LLVM_LIBRARIES} ${Boost_LIBRARIES} ${CUDA_LIB})
    137139
    138140IF(ENABLE_MULTIPLEXING)
     
    226228
    227229add_test(
     230  NAME lz4d_test
     231  WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/../QA/lz4d
     232  COMMAND ./run_all ${CMAKE_BINARY_DIR}/lz4d)
     233
     234add_test(
    228235  NAME editd_test
    229236  WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/../QA/editd
     
    238245  WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/../QA/u8u16
    239246  COMMAND ./run_all ${CMAKE_BINARY_DIR}/u8u16)
     247
     248add_custom_target (lz4d_test
     249  WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/../QA/lz4d
     250  COMMAND ./run_all ${CMAKE_BINARY_DIR}/lz4d)
    240251
    241252add_custom_target (editd_test
Note: See TracChangeset for help on using the changeset viewer.