Migrated map-insfind-int stress test to gtest
[libcds.git] / test / stress / map / insfind_int / CMakeLists.txt
1 set(PACKAGE_NAME stress-map-insfind-int)
2
3 set(CDSSTRESS_MAP_INSFIND_INT_SOURCES
4     ../../main.cpp
5     map_insfind.cpp
6     map_insfind_bronsonavltree.cpp
7     map_insfind_cuckoo.cpp
8     map_insfind_ellentree.cpp
9     map_insfind_feldman_hashset.cpp
10     map_insfind_michael.cpp
11     map_insfind_skip.cpp
12     map_insfind_split.cpp
13     map_insfind_std.cpp
14     map_insfind_striped.cpp
15 )
16
17 include_directories(
18     ${CMAKE_CURRENT_SOURCE_DIR}
19     ${CMAKE_CURRENT_SOURCE_DIR}/..
20 )
21
22 add_executable(${PACKAGE_NAME} ${CDSSTRESS_MAP_INSFIND_INT_SOURCES} $<TARGET_OBJECTS:${CDSSTRESS_FRAMEWORK_LIBRARY}>)
23 target_link_libraries(${PACKAGE_NAME} 
24     ${CDS_SHARED_LIBRARY}
25     ${GTEST_LIBRARY}
26     ${Boost_THREAD_LIBRARY}
27     ${Boost_SYSTEM_LIBRARY}
28     ${CMAKE_THREAD_LIBS_INIT}
29 )
30
31 add_test(NAME ${PACKAGE_NAME} COMMAND ${PACKAGE_NAME} WORKING_DIRECTORY ${EXECUTABLE_OUTPUT_PATH})