1
0
mirror of https://github.com/wqking/eventpp.git synced 2025-01-16 20:41:34 +08:00
eventpp/tests/benchmark/CMakeLists.txt
2018-08-05 12:46:36 +08:00

21 lines
397 B
CMake

set(TARGET_TEST benchmark)
set(SRC_TEST
testmain.cpp
b1_callbacklist_invoking_vs_cpp.cpp
b2_map_vs_unordered_map.cpp
b3_b5_eventqueue.cpp
b6_callbacklist_add_remove_callbacks.cpp
b7_callbacklist_vs_function_list.cpp
)
add_executable(
${TARGET_TEST}
${SRC_TEST}
)
set(THREADS_PREFER_PTHREAD_FLAG ON)
find_package(Threads REQUIRED)
target_link_libraries(${TARGET_TEST} Threads::Threads)