benchmark/test/CMakeLists.txt

10 lines
379 B
CMake
Raw Normal View History

# Demonstration executable
add_executable(benchmark_test benchmark_test.cc)
target_link_libraries(benchmark_test benchmark ${CMAKE_THREAD_LIBS_INIT})
2014-08-04 10:38:37 +00:00
add_test(benchmark benchmark_test)
# Test harness for regex wrapper
add_executable(re_test ${RE_FILES} "re_test.cc")
target_link_libraries(re_test benchmark_re gtest gtest_main ${CMAKE_THREAD_LIBS_INIT})
add_test(regex re_test)