Updated P3T3's test CMakeLists

This commit is contained in:
Mael Rouxel-Labbé 2017-03-16 18:25:47 +01:00
parent 86f374e6da
commit 5bff1f3de4
1 changed files with 17 additions and 6 deletions

View File

@ -6,7 +6,9 @@ project( Periodic_3_triangulation_3_Tests )
cmake_minimum_required(VERSION 2.8.10)
find_package(CGAL QUIET COMPONENTS Core)
set(CMAKE_CXX_STANDARD 14)
find_package(CGAL QUIET COMPONENTS Core )
if ( CGAL_FOUND )
@ -18,11 +20,20 @@ if ( CGAL_FOUND )
include_directories (BEFORE "include")
# create a target per cppfile
file(GLOB cppfiles RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
foreach(cppfile ${cppfiles})
create_single_source_cgal_program( "${cppfile}" )
endforeach()
create_single_source_cgal_program( "test_p3rt3_as_p3t3.cpp" )
create_single_source_cgal_program( "test_p3rt3_insert_remove_point_set.cpp" )
create_single_source_cgal_program( "test_periodic_3_alpha_shape_3.cpp" )
create_single_source_cgal_program( "test_periodic_3_delaunay_3.cpp" )
create_single_source_cgal_program( "test_periodic_3_delaunay_hierarchy_3.cpp" )
create_single_source_cgal_program( "test_periodic_3_offset_3.cpp" )
create_single_source_cgal_program( "test_periodic_3_regular_triangulation_3.cpp" )
create_single_source_cgal_program( "test_periodic_3_regular_triangulation_traits_3.cpp" )
create_single_source_cgal_program( "test_periodic_3_triangulation_3.cpp" )
create_single_source_cgal_program( "test_periodic_3_triangulation_tds.cpp" )
create_single_source_cgal_program( "test_periodic_3_triangulation_traits_C_3.cpp" )
create_single_source_cgal_program( "test_periodic_3_triangulation_traits_H_3.cpp" )
create_single_source_cgal_program( "test_periodic_3_triangulation_traits_SC_3.cpp" )
create_single_source_cgal_program( "test_periodic_3_triangulation_traits_SH_3.cpp" )
else()