2022-04-16 09:24:00 +02:00
|
|
|
cmake_minimum_required(VERSION 3.22)
|
|
|
|
project(prog)
|
|
|
|
|
|
|
|
set(CMAKE_CXX_STANDARD 20)
|
|
|
|
|
|
|
|
find_package(benchmark REQUIRED)
|
|
|
|
|
2022-04-16 11:41:48 +02:00
|
|
|
add_executable(main.out segment_tree.h segment_tree.cpp geometry.h areas.h areas.cpp main.cpp)
|
|
|
|
|
2022-04-17 13:04:47 +02:00
|
|
|
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)
|