file(GLOB benchmarks_src CONFIGURE_DEPENDS "*.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) if(MSVC) install(FILES $ DESTINATION bin OPTIONAL) endif() add_test(NAME benchmarks COMMAND benchmarks --benchmark_color=false)