Migrated map-find-string stress test to gtest
[libcds.git] / test / stress / map / find_string / CMakeLists.txt
1 set(PACKAGE_NAME stress-map-find-string)
2
3 set(CDSSTRESS_MAP_FIND_STRING_SOURCES
4     ../../main.cpp
5     map_find_string.cpp
6     map_find_string_bronsonavltree.cpp
7     map_find_string_cuckoo.cpp
8     map_find_string_ellentree.cpp
9     map_find_string_feldman_hashset.cpp
10     map_find_string_michael.cpp
11     map_find_string_skip.cpp
12     map_find_string_split.cpp
13     map_find_string_std.cpp
14     map_find_string_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_FIND_STRING_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})