mirror of https://github.com/CGAL/cgal
21 lines
551 B
CMake
21 lines
551 B
CMake
# Created by the script cgal_create_cmake_script
|
|
# This is the CMake script for compiling a CGAL application.
|
|
|
|
cmake_minimum_required(VERSION 3.1...3.14)
|
|
project( AABB_traits_benchmark )
|
|
|
|
find_package(CGAL REQUIRED QUIET OPTIONAL_COMPONENTS Core )
|
|
|
|
create_single_source_cgal_program( "test.cpp" )
|
|
create_single_source_cgal_program( "tree_construction.cpp" )
|
|
|
|
# google benchmark
|
|
find_package(benchmark)
|
|
|
|
if (benchmark_FOUND)
|
|
create_single_source_cgal_program("tree_creation.cpp")
|
|
target_link_libraries(tree_creation benchmark::benchmark)
|
|
endif()
|
|
|
|
|