Uses cds assert
[libcds.git] / test / unit / misc / CMakeLists.txt
1 set(PACKAGE_NAME unit-misc)
2
3 set(CDSGTEST_MISC_SOURCES
4     ../main.cpp
5     bitop.cpp
6     cxx11_atomic_class.cpp
7     cxx11_atomic_func.cpp
8     find_option.cpp
9     hash_tuple.cpp
10     permutation_generator.cpp
11     split_bitstring.cpp
12 )
13
14 include_directories(
15     ${CMAKE_CURRENT_SOURCE_DIR}
16 )
17
18 add_executable(${PACKAGE_NAME} ${CDSGTEST_MISC_SOURCES})
19 target_link_libraries(${PACKAGE_NAME} ${CDS_TEST_LIBRARIES})
20
21 add_test(NAME ${PACKAGE_NAME} COMMAND ${PACKAGE_NAME} WORKING_DIRECTORY ${EXECUTABLE_OUTPUT_PATH})