mirror of https://github.com/CGAL/cgal
26 lines
530 B
CMake
26 lines
530 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.15)
|
|
project( copy_n_benchmark_example )
|
|
|
|
|
|
|
|
find_package(CGAL QUIET COMPONENTS Core )
|
|
|
|
if ( CGAL_FOUND )
|
|
|
|
include(${CGAL_USE_FILE})
|
|
|
|
create_single_source_cgal_program( "copy_n_benchmark.cpp" )
|
|
|
|
create_single_source_cgal_program( "copy_n_use_case_benchmark.cpp" )
|
|
|
|
else()
|
|
|
|
message(STATUS "This program requires the CGAL library, and will not be compiled.")
|
|
|
|
endif()
|
|
|