restructure cmakelists.txt

This commit is contained in:
Maximilian Keßler 2022-04-17 13:04:47 +02:00
parent 059a67836e
commit 81ab9fe4f9

View file

@ -5,8 +5,7 @@ set(CMAKE_CXX_STANDARD 20)
find_package(benchmark REQUIRED)
add_executable(benchmark.out segment_tree.h segment_tree.cpp geometry.h areas.cpp areas.h benchmark.cpp)
add_executable(main.out segment_tree.h segment_tree.cpp geometry.h areas.h areas.cpp main.cpp)
target_link_libraries(benchmark.out benchmark::benchmark)
add_executable(benchmark.out segment_tree.h segment_tree.cpp geometry.h areas.cpp areas.h benchmark.cpp)
target_link_libraries(benchmark.out benchmark::benchmark)