Uses cds assert
[libcds.git] / test / stress / sequential / CMakeLists.txt
1 set(PACKAGE_NAME stress-sequential)
2
3 add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/sequential-misc)
4 add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/sequential-set)
5 add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/sequential-map)
6
7 set(CDSSTRESS_STACK_SOURCES
8     ../main.cpp
9     sequential_queue.cpp
10     sequential_freelist_put_get_single.cpp
11     sequential_freelist_put_get.cpp
12     sequential_stack.cpp
13 )
14
15 include_directories(
16     ${CMAKE_CURRENT_SOURCE_DIR}
17 )
18
19 add_executable(${PACKAGE_NAME} ${CDSSTRESS_STACK_SOURCES})
20 target_link_libraries(${PACKAGE_NAME} ${CDS_TEST_LIBRARIES} ${CDSSTRESS_FRAMEWORK_LIBRARY})
21
22 add_test(NAME ${PACKAGE_NAME} COMMAND ${PACKAGE_NAME} WORKING_DIRECTORY ${EXECUTABLE_OUTPUT_PATH})
23
24 add_custom_target( stress-sequential-all
25     DEPENDS
26         stress-sequential
27         stress-sequential-set
28         stress-sequential-map
29 )