12 lines
No EOL
373 B
CMake
12 lines
No EOL
373 B
CMake
cmake_minimum_required(VERSION 3.22)
|
|
project(prog)
|
|
|
|
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) |