rectangle-union-area/CMakeLists.txt

11 lines
373 B
CMake

cmake_minimum_required(VERSION 3.22)
project(prog)
set(CMAKE_CXX_STANDARD 20)
find_package(benchmark REQUIRED)
add_executable(main.out segment_tree.h segment_tree.cpp geometry.h areas.h areas.cpp main.cpp)
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)