[CI] Changed CMake scripts for tests
[libcds.git] / test / stress / map / insdel_func / CMakeLists.txt
1 set(PACKAGE_NAME stress-map-insdel-func)
2
3 set(CDSSTRESS_MAP_INSDEL_FUNC_SOURCES
4     ../../main.cpp
5     map_insdel_func.cpp
6     map_insdel_func_bronsonavltree.cpp
7     map_insdel_func_cuckoo.cpp
8     map_insdel_func_ellentree.cpp
9     map_insdel_func_feldman_hashset.cpp
10     map_insdel_func_michael.cpp
11     map_insdel_func_skip.cpp
12     map_insdel_func_split.cpp
13     map_insdel_func_striped.cpp
14 )
15
16 include_directories(
17     ${CMAKE_CURRENT_SOURCE_DIR}
18     ${CMAKE_CURRENT_SOURCE_DIR}/..
19 )
20
21 add_executable(${PACKAGE_NAME} ${CDSSTRESS_MAP_INSDEL_FUNC_SOURCES} $<TARGET_OBJECTS:${CDSSTRESS_FRAMEWORK_LIBRARY}>)
22 target_link_libraries(${PACKAGE_NAME} ${CDS_TEST_LIBRARIES})
23
24 add_test(NAME ${PACKAGE_NAME} COMMAND ${PACKAGE_NAME} WORKING_DIRECTORY ${EXECUTABLE_OUTPUT_PATH})