aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/benchmarks/CMakeLists.txt
blob: ea419a6eb3fa9887e7bbf8f8f30a8b26f64a7bba (plain) (blame)
1
2
3
4
5
6
7
8
9
file(GLOB benchmarks_src "*.cpp")
add_executable(benchmarks ${benchmarks_src})
set_target_properties(benchmarks PROPERTIES OUTPUT_NAME math-server-benchmarks)
target_link_libraries(benchmarks PRIVATE lexer)
target_link_libraries(benchmarks PRIVATE benchmark benchmark_main)
install(TARGETS benchmarks RUNTIME DESTINATION bin)
install_pdbs(TARGETS benchmarks DESTINATION bin)

add_test(NAME benchmarks COMMAND benchmarks --benchmark_color=false)