Commit 696a48ed authored by Damien L-G's avatar Damien L-G

Run benchmark with the tests

parent 2a3e8820
......@@ -45,3 +45,10 @@ file(COPY ${CMAKE_SOURCE_DIR}/dummy.csv DESTINATION ${CMAKE_BINARY_DIR})
add_executable(Map noname_TestMap.cpp)
target_link_libraries(Map noname)
add_test(NAME testMap COMMAND Map)
find_package(benchmark)
if(benchmark_FOUND)
add_executable(benchmark noname_benchmark.cpp)
target_link_libraries(benchmark noname benchmark::benchmark)
add_test(NAME testBenchmark COMMAND benchmark)
endif()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment