file(GLOB RTreeBenchmarkSources static_rtree.cpp) file(GLOB MatchBenchmarkSources match.cpp) add_executable(rtree-bench EXCLUDE_FROM_ALL ${RTreeBenchmarkSources} $) target_include_directories(rtree-bench PUBLIC ${PROJECT_SOURCE_DIR}/unit_tests) target_link_libraries(rtree-bench ${BOOST_BASE_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${TBB_LIBRARIES}) add_executable(match-bench EXCLUDE_FROM_ALL ${MatchBenchmarkSources} $) target_link_libraries(match-bench osrm ${BOOST_BASE_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${TBB_LIBRARIES}) add_custom_target(benchmarks DEPENDS rtree-bench match-bench)