mirror of https://github.com/CGAL/cgal
remove useless include directives
This commit is contained in:
parent
513d67d957
commit
58181afcdb
|
|
@ -6,8 +6,6 @@ project(AABB_tree_Tests)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED)
|
find_package(CGAL REQUIRED)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE}) # Kept to test the old behaviour.
|
|
||||||
|
|
||||||
# create a target per cppfile
|
# create a target per cppfile
|
||||||
file(
|
file(
|
||||||
GLOB cppfiles
|
GLOB cppfiles
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,6 @@ project(Algebraic_foundations_Tests)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
|
|
||||||
# create a target per cppfile
|
# create a target per cppfile
|
||||||
file(
|
file(
|
||||||
GLOB cppfiles
|
GLOB cppfiles
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,6 @@ find_package(CGAL REQUIRED COMPONENTS Core)
|
||||||
find_package(MPFI QUIET)
|
find_package(MPFI QUIET)
|
||||||
|
|
||||||
if(MPFI_FOUND AND NOT CGAL_DISABLE_GMP)
|
if(MPFI_FOUND AND NOT CGAL_DISABLE_GMP)
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
include(${MPFI_USE_FILE})
|
include(${MPFI_USE_FILE})
|
||||||
include(CGAL_VersionUtils)
|
include(CGAL_VersionUtils)
|
||||||
create_single_source_cgal_program("Compare_1.cpp")
|
create_single_source_cgal_program("Compare_1.cpp")
|
||||||
|
|
|
||||||
|
|
@ -28,8 +28,6 @@ endif()
|
||||||
# include for local directory
|
# include for local directory
|
||||||
include_directories(BEFORE include)
|
include_directories(BEFORE include)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
|
|
||||||
# Creating entries for all .cpp/.C files with "main" routine
|
# Creating entries for all .cpp/.C files with "main" routine
|
||||||
# ##########################################################
|
# ##########################################################
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,6 @@ project(Apollonius_graph_2_Examples)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
|
|
||||||
# create a target per cppfile
|
# create a target per cppfile
|
||||||
file(
|
file(
|
||||||
GLOB cppfiles
|
GLOB cppfiles
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,6 @@ find_package(GMP QUIET)
|
||||||
|
|
||||||
if(GMP_FOUND)
|
if(GMP_FOUND)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
include(CGAL_VersionUtils)
|
include(CGAL_VersionUtils)
|
||||||
|
|
||||||
get_dependency_version(GMP)
|
get_dependency_version(GMP)
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,6 @@ project(Arrangement_on_surface_2_Examples)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
|
|
||||||
# create a target per cppfile
|
# create a target per cppfile
|
||||||
file(
|
file(
|
||||||
GLOB cppfiles
|
GLOB cppfiles
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@ enable_testing()
|
||||||
|
|
||||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
# Since CMake-2.8.12: New CMake script, that defines the targets and
|
# Since CMake-2.8.12: New CMake script, that defines the targets and
|
||||||
# the CTest test cases.
|
# the CTest test cases.
|
||||||
include(${CMAKE_CURRENT_SOURCE_DIR}/cgal_test.cmake)
|
include(${CMAKE_CURRENT_SOURCE_DIR}/cgal_test.cmake)
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@ cmake_minimum_required(VERSION 3.1...3.20)
|
||||||
set(CMAKE_CXX_STANDARD 14)
|
set(CMAKE_CXX_STANDARD 14)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
include(CGAL_CreateSingleSourceCGALProgram)
|
|
||||||
|
|
||||||
create_single_source_cgal_program("segment_coordinates.cpp")
|
create_single_source_cgal_program("segment_coordinates.cpp")
|
||||||
create_single_source_cgal_program("triangle_coordinates.cpp")
|
create_single_source_cgal_program("triangle_coordinates.cpp")
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@ cmake_minimum_required(VERSION 3.1...3.20)
|
||||||
set(CMAKE_CXX_STANDARD 14)
|
set(CMAKE_CXX_STANDARD 14)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
include(CGAL_CreateSingleSourceCGALProgram)
|
|
||||||
|
|
||||||
create_single_source_cgal_program("test_almost_degenerate_segment.cpp")
|
create_single_source_cgal_program("test_almost_degenerate_segment.cpp")
|
||||||
create_single_source_cgal_program("test_segment_coordinates.cpp")
|
create_single_source_cgal_program("test_segment_coordinates.cpp")
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,6 @@ project(Bounding_volumes_Tests)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
|
|
||||||
# Use Eigen
|
# Use Eigen
|
||||||
find_package(Eigen3 3.1.0 QUIET) #(3.1.0 or greater)
|
find_package(Eigen3 3.1.0 QUIET) #(3.1.0 or greater)
|
||||||
include(CGAL_Eigen3_support)
|
include(CGAL_Eigen3_support)
|
||||||
|
|
|
||||||
|
|
@ -25,11 +25,6 @@ if(NOT Boost_FOUND)
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# include for local directory
|
|
||||||
|
|
||||||
# include for local package
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
|
|
||||||
# Creating entries for all .cpp/.C files with "main" routine
|
# Creating entries for all .cpp/.C files with "main" routine
|
||||||
# ##########################################################
|
# ##########################################################
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,6 @@ endif()
|
||||||
find_package(CGAL REQUIRED COMPONENTS ImageIO)
|
find_package(CGAL REQUIRED COMPONENTS ImageIO)
|
||||||
|
|
||||||
if(CGAL_ImageIO_FOUND)
|
if(CGAL_ImageIO_FOUND)
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
|
|
||||||
create_single_source_cgal_program("convert_raw_image_to_inr.cpp")
|
create_single_source_cgal_program("convert_raw_image_to_inr.cpp")
|
||||||
create_single_source_cgal_program("test_imageio.cpp")
|
create_single_source_cgal_program("test_imageio.cpp")
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,6 @@ endif()
|
||||||
|
|
||||||
find_package(CGAL REQUIRED COMPONENTS ImageIO)
|
find_package(CGAL REQUIRED COMPONENTS ImageIO)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
|
|
||||||
if(WITH_CGAL_ImageIO)
|
if(WITH_CGAL_ImageIO)
|
||||||
create_single_source_cgal_program("test_trilinear_interpolation.cpp")
|
create_single_source_cgal_program("test_trilinear_interpolation.cpp")
|
||||||
else()
|
else()
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,6 @@ project(Circular_kernel_3_Tests)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
|
|
||||||
include_directories(BEFORE include)
|
include_directories(BEFORE include)
|
||||||
|
|
||||||
# The following `include_directories` is used in the git layout
|
# The following `include_directories` is used in the git layout
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@ cmake_minimum_required(VERSION 3.1...3.20)
|
||||||
project(Cone_spanners_2_Examples)
|
project(Cone_spanners_2_Examples)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED QUIET OPTIONAL_COMPONENTS Core)
|
find_package(CGAL REQUIRED QUIET OPTIONAL_COMPONENTS Core)
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
find_package(LEDA QUIET)
|
find_package(LEDA QUIET)
|
||||||
|
|
||||||
if(CGAL_Core_FOUND OR LEDA_FOUND)
|
if(CGAL_Core_FOUND OR LEDA_FOUND)
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@ project(Cone_spanners_2_Tests)
|
||||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||||
|
|
||||||
if(CGAL_Core_FOUND)
|
if(CGAL_Core_FOUND)
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
include_directories(BEFORE "include")
|
include_directories(BEFORE "include")
|
||||||
|
|
||||||
# create a target per cppfile
|
# create a target per cppfile
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,6 @@ project(Envelope_3_Examples)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
|
|
||||||
# create a target per cppfile
|
# create a target per cppfile
|
||||||
file(
|
file(
|
||||||
GLOB cppfiles
|
GLOB cppfiles
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,6 @@ project(Envelope_3_Tests)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
|
|
||||||
# create a target per cppfile
|
# create a target per cppfile
|
||||||
file(
|
file(
|
||||||
GLOB cppfiles
|
GLOB cppfiles
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,6 @@ project(Heat_method_3_Examples)
|
||||||
# CGAL and its components
|
# CGAL and its components
|
||||||
find_package(CGAL REQUIRED)
|
find_package(CGAL REQUIRED)
|
||||||
|
|
||||||
# include helper file
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
|
|
||||||
# Boost and its components
|
# Boost and its components
|
||||||
find_package(Boost REQUIRED)
|
find_package(Boost REQUIRED)
|
||||||
|
|
||||||
|
|
@ -39,8 +36,6 @@ include_directories(BEFORE include)
|
||||||
# Creating entries for all C++ files with "main" routine
|
# Creating entries for all C++ files with "main" routine
|
||||||
# ##########################################################
|
# ##########################################################
|
||||||
|
|
||||||
include(CGAL_CreateSingleSourceCGALProgram)
|
|
||||||
|
|
||||||
create_single_source_cgal_program("heat_method.cpp")
|
create_single_source_cgal_program("heat_method.cpp")
|
||||||
target_link_libraries(heat_method PUBLIC CGAL::Eigen3_support)
|
target_link_libraries(heat_method PUBLIC CGAL::Eigen3_support)
|
||||||
create_single_source_cgal_program("heat_method_polyhedron.cpp")
|
create_single_source_cgal_program("heat_method_polyhedron.cpp")
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,6 @@ project(Heat_method_3_Tests)
|
||||||
# CGAL and its components
|
# CGAL and its components
|
||||||
find_package(CGAL REQUIRED)
|
find_package(CGAL REQUIRED)
|
||||||
|
|
||||||
# include helper file
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
|
|
||||||
# Boost and its components
|
# Boost and its components
|
||||||
find_package(Boost REQUIRED)
|
find_package(Boost REQUIRED)
|
||||||
|
|
||||||
|
|
@ -39,8 +36,6 @@ include_directories(BEFORE include)
|
||||||
# Creating entries for all C++ files with "main" routine
|
# Creating entries for all C++ files with "main" routine
|
||||||
# ##########################################################
|
# ##########################################################
|
||||||
|
|
||||||
include(CGAL_CreateSingleSourceCGALProgram)
|
|
||||||
|
|
||||||
create_single_source_cgal_program("heat_method_concept.cpp")
|
create_single_source_cgal_program("heat_method_concept.cpp")
|
||||||
target_link_libraries(heat_method_concept PUBLIC CGAL::Eigen3_support)
|
target_link_libraries(heat_method_concept PUBLIC CGAL::Eigen3_support)
|
||||||
create_single_source_cgal_program("heat_method_surface_mesh_test.cpp")
|
create_single_source_cgal_program("heat_method_surface_mesh_test.cpp")
|
||||||
|
|
|
||||||
|
|
@ -6,9 +6,5 @@ project(Hyperbolic_triangulation_2_Examples)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
|
|
||||||
include(CGAL_CreateSingleSourceCGALProgram)
|
|
||||||
|
|
||||||
create_single_source_cgal_program("ht2_example.cpp")
|
create_single_source_cgal_program("ht2_example.cpp")
|
||||||
create_single_source_cgal_program("ht2_example_color.cpp")
|
create_single_source_cgal_program("ht2_example_color.cpp")
|
||||||
|
|
|
||||||
|
|
@ -6,10 +6,6 @@ project(Hyperbolic_triangulation_2_Tests)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
|
|
||||||
include(CGAL_CreateSingleSourceCGALProgram)
|
|
||||||
|
|
||||||
create_single_source_cgal_program("ht2_test_clear.cpp")
|
create_single_source_cgal_program("ht2_test_clear.cpp")
|
||||||
create_single_source_cgal_program("ht2_test_locate.cpp")
|
create_single_source_cgal_program("ht2_test_locate.cpp")
|
||||||
create_single_source_cgal_program("ht2_test_remove.cpp")
|
create_single_source_cgal_program("ht2_test_remove.cpp")
|
||||||
|
|
|
||||||
|
|
@ -32,10 +32,6 @@ endmacro()
|
||||||
|
|
||||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
|
|
||||||
include(CGAL_CreateSingleSourceCGALProgram)
|
|
||||||
|
|
||||||
create_single_source_cgal_program("endian.cpp")
|
create_single_source_cgal_program("endian.cpp")
|
||||||
|
|
||||||
create_single_source_cgal_program("deprecation_warning.cpp")
|
create_single_source_cgal_program("deprecation_warning.cpp")
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,6 @@ project(Interval_support_Tests)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
|
|
||||||
# create a target per cppfile
|
# create a target per cppfile
|
||||||
file(
|
file(
|
||||||
GLOB cppfiles
|
GLOB cppfiles
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,6 @@ project(Kernel_23_Tests)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
include_directories(BEFORE "include")
|
include_directories(BEFORE "include")
|
||||||
|
|
||||||
# create a target per cppfile
|
# create a target per cppfile
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,6 @@ project(Mesh_2_Tests)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
|
|
||||||
# create a target per cppfile
|
# create a target per cppfile
|
||||||
file(
|
file(
|
||||||
GLOB cppfiles
|
GLOB cppfiles
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,6 @@ endif()
|
||||||
find_package(CGAL QUIET COMPONENTS ImageIO)
|
find_package(CGAL QUIET COMPONENTS ImageIO)
|
||||||
|
|
||||||
if ( CGAL_FOUND )
|
if ( CGAL_FOUND )
|
||||||
include( ${CGAL_USE_FILE} )
|
|
||||||
|
|
||||||
find_package( TBB QUIET )
|
find_package( TBB QUIET )
|
||||||
include(CGAL_TBB_support)
|
include(CGAL_TBB_support)
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,6 @@ project(Minkowski_sum_2_Examples)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
|
|
||||||
# create a target per cppfile
|
# create a target per cppfile
|
||||||
file(
|
file(
|
||||||
GLOB cppfiles
|
GLOB cppfiles
|
||||||
|
|
|
||||||
|
|
@ -13,8 +13,6 @@ project(Minkowski_sum_2_Tests)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
|
|
||||||
# create a target per cppfile
|
# create a target per cppfile
|
||||||
file(
|
file(
|
||||||
GLOB cppfiles
|
GLOB cppfiles
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,6 @@ project(Modular_arithmetic_Tests)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
|
|
||||||
# create a target per cppfile
|
# create a target per cppfile
|
||||||
file(
|
file(
|
||||||
GLOB cppfiles
|
GLOB cppfiles
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@ project(Number_types_Tests)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
include(CGAL_VersionUtils)
|
include(CGAL_VersionUtils)
|
||||||
|
|
||||||
include_directories(BEFORE include)
|
include_directories(BEFORE include)
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,6 @@ project(Optimal_bounding_box_Examples)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED)
|
find_package(CGAL REQUIRED)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
|
|
||||||
find_package(Eigen3 3.1.0 REQUIRED) #(3.1.0 or greater)
|
find_package(Eigen3 3.1.0 REQUIRED) #(3.1.0 or greater)
|
||||||
include(CGAL_Eigen3_support)
|
include(CGAL_Eigen3_support)
|
||||||
if(NOT TARGET CGAL::Eigen3_support)
|
if(NOT TARGET CGAL::Eigen3_support)
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,6 @@ project(Optimal_bounding_box_Tests)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED)
|
find_package(CGAL REQUIRED)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
|
|
||||||
find_package(Eigen3 3.1.0 REQUIRED) #(3.1.0 or greater)
|
find_package(Eigen3 3.1.0 REQUIRED) #(3.1.0 or greater)
|
||||||
include(CGAL_Eigen3_support)
|
include(CGAL_Eigen3_support)
|
||||||
if(NOT TARGET CGAL::Eigen3_support)
|
if(NOT TARGET CGAL::Eigen3_support)
|
||||||
|
|
|
||||||
|
|
@ -11,8 +11,6 @@ endif()
|
||||||
# CGAL and its components
|
# CGAL and its components
|
||||||
find_package(CGAL REQUIRED COMPONENTS ImageIO)
|
find_package(CGAL REQUIRED COMPONENTS ImageIO)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
|
|
||||||
# include for local package
|
# include for local package
|
||||||
|
|
||||||
# Use Eigen
|
# Use Eigen
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,6 @@ endif()
|
||||||
|
|
||||||
find_package(CGAL REQUIRED COMPONENTS ImageIO)
|
find_package(CGAL REQUIRED COMPONENTS ImageIO)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
|
|
||||||
# Use Eigen
|
# Use Eigen
|
||||||
find_package(Eigen3 3.1.0 REQUIRED) #(3.1.0 or greater)
|
find_package(Eigen3 3.1.0 REQUIRED) #(3.1.0 or greater)
|
||||||
include(CGAL_Eigen3_support)
|
include(CGAL_Eigen3_support)
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,6 @@ project(Periodic_3_triangulation_3_Tests)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
include_directories(BEFORE "include")
|
include_directories(BEFORE "include")
|
||||||
|
|
||||||
create_single_source_cgal_program("test_p3rt3_as_p3t3.cpp")
|
create_single_source_cgal_program("test_p3rt3_as_p3t3.cpp")
|
||||||
|
|
|
||||||
|
|
@ -2,13 +2,10 @@ cmake_minimum_required(VERSION 3.1...3.20)
|
||||||
project(Periodic_4_hyperbolic_triangulation_2_Examples)
|
project(Periodic_4_hyperbolic_triangulation_2_Examples)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED QUIET OPTIONAL_COMPONENTS Core)
|
find_package(CGAL REQUIRED QUIET OPTIONAL_COMPONENTS Core)
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
find_package(LEDA QUIET)
|
find_package(LEDA QUIET)
|
||||||
|
|
||||||
if((CGAL_Core_FOUND OR LEDA_FOUND))
|
if((CGAL_Core_FOUND OR LEDA_FOUND))
|
||||||
|
|
||||||
include(CGAL_CreateSingleSourceCGALProgram)
|
|
||||||
|
|
||||||
create_single_source_cgal_program("p4ht2_example_insertion.cpp")
|
create_single_source_cgal_program("p4ht2_example_insertion.cpp")
|
||||||
|
|
||||||
else()
|
else()
|
||||||
|
|
|
||||||
|
|
@ -2,13 +2,10 @@ cmake_minimum_required(VERSION 3.1...3.20)
|
||||||
project(Periodic_4_hyperbolic_triangulation_2_Tests)
|
project(Periodic_4_hyperbolic_triangulation_2_Tests)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED QUIET OPTIONAL_COMPONENTS Core)
|
find_package(CGAL REQUIRED QUIET OPTIONAL_COMPONENTS Core)
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
find_package(LEDA QUIET)
|
find_package(LEDA QUIET)
|
||||||
|
|
||||||
if((CGAL_Core_FOUND OR LEDA_FOUND))
|
if((CGAL_Core_FOUND OR LEDA_FOUND))
|
||||||
|
|
||||||
include(CGAL_CreateSingleSourceCGALProgram)
|
|
||||||
|
|
||||||
create_single_source_cgal_program("test_p4ht2_construct_point_2.cpp")
|
create_single_source_cgal_program("test_p4ht2_construct_point_2.cpp")
|
||||||
create_single_source_cgal_program("test_p4ht2_exact_complex_numbers.cpp")
|
create_single_source_cgal_program("test_p4ht2_exact_complex_numbers.cpp")
|
||||||
create_single_source_cgal_program("test_p4ht2_intersections.cpp")
|
create_single_source_cgal_program("test_p4ht2_intersections.cpp")
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@ project(Polygon_mesh_processing_Tests)
|
||||||
# CGAL and its components
|
# CGAL and its components
|
||||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
|
|
||||||
# Boost and its components
|
# Boost and its components
|
||||||
find_package(Boost REQUIRED)
|
find_package(Boost REQUIRED)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,9 +8,6 @@ cmake_minimum_required(VERSION 3.1...3.20)
|
||||||
# CGAL and its components
|
# CGAL and its components
|
||||||
find_package(CGAL REQUIRED)
|
find_package(CGAL REQUIRED)
|
||||||
|
|
||||||
# include helper file
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
|
|
||||||
# Boost and its components
|
# Boost and its components
|
||||||
find_package(Boost REQUIRED)
|
find_package(Boost REQUIRED)
|
||||||
|
|
||||||
|
|
@ -28,8 +25,6 @@ endif()
|
||||||
# Creating entries for all C++ files with "main" routine
|
# Creating entries for all C++ files with "main" routine
|
||||||
# ##########################################################
|
# ##########################################################
|
||||||
|
|
||||||
include(CGAL_CreateSingleSourceCGALProgram)
|
|
||||||
|
|
||||||
find_package(Eigen3 3.1.0) #(requires 3.1.0 or greater)
|
find_package(Eigen3 3.1.0) #(requires 3.1.0 or greater)
|
||||||
include(CGAL_Eigen3_support)
|
include(CGAL_Eigen3_support)
|
||||||
if(NOT TARGET CGAL::Eigen3_support)
|
if(NOT TARGET CGAL::Eigen3_support)
|
||||||
|
|
|
||||||
|
|
@ -8,9 +8,6 @@ cmake_minimum_required(VERSION 3.1...3.20)
|
||||||
# CGAL and its components
|
# CGAL and its components
|
||||||
find_package(CGAL REQUIRED)
|
find_package(CGAL REQUIRED)
|
||||||
|
|
||||||
# include helper file
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
|
|
||||||
# Boost and its components
|
# Boost and its components
|
||||||
find_package(Boost REQUIRED)
|
find_package(Boost REQUIRED)
|
||||||
|
|
||||||
|
|
@ -28,8 +25,6 @@ endif()
|
||||||
# Creating entries for all C++ files with "main" routine
|
# Creating entries for all C++ files with "main" routine
|
||||||
# ##########################################################
|
# ##########################################################
|
||||||
|
|
||||||
include(CGAL_CreateSingleSourceCGALProgram)
|
|
||||||
|
|
||||||
find_package(Eigen3 3.1.0) #(requires 3.1.0 or greater)
|
find_package(Eigen3 3.1.0) #(requires 3.1.0 or greater)
|
||||||
include(CGAL_Eigen3_support)
|
include(CGAL_Eigen3_support)
|
||||||
if(NOT TARGET CGAL::Eigen3_support)
|
if(NOT TARGET CGAL::Eigen3_support)
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,6 @@ project(Polynomial_Tests)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
include_directories(BEFORE "include")
|
include_directories(BEFORE "include")
|
||||||
|
|
||||||
# create a target per cppfile
|
# create a target per cppfile
|
||||||
|
|
|
||||||
|
|
@ -6,9 +6,6 @@ project(Segment_Delaunay_graph_2_Tests)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
include_directories(BEFORE "include")
|
|
||||||
|
|
||||||
# create a target per cppfile
|
# create a target per cppfile
|
||||||
file(
|
file(
|
||||||
GLOB cppfiles
|
GLOB cppfiles
|
||||||
|
|
|
||||||
|
|
@ -6,9 +6,6 @@ project(Segment_Delaunay_graph_Linf_2_Tests)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
include_directories(BEFORE "include")
|
|
||||||
|
|
||||||
# create a target per cppfile
|
# create a target per cppfile
|
||||||
file(
|
file(
|
||||||
GLOB cppfiles
|
GLOB cppfiles
|
||||||
|
|
|
||||||
|
|
@ -6,9 +6,6 @@ project(Shape_detection_Examples)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
include(CGAL_CreateSingleSourceCGALProgram)
|
|
||||||
|
|
||||||
# Use Eigen.
|
# Use Eigen.
|
||||||
find_package(Eigen3 3.1.0 QUIET) # (3.1.0 or greater)
|
find_package(Eigen3 3.1.0 QUIET) # (3.1.0 or greater)
|
||||||
include(CGAL_Eigen3_support)
|
include(CGAL_Eigen3_support)
|
||||||
|
|
|
||||||
|
|
@ -6,9 +6,6 @@ project(Shape_detection_Tests)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
include(CGAL_CreateSingleSourceCGALProgram)
|
|
||||||
|
|
||||||
# Use Eigen.
|
# Use Eigen.
|
||||||
find_package(Eigen3 3.1.0 QUIET) # (3.1.0 or greater)
|
find_package(Eigen3 3.1.0 QUIET) # (3.1.0 or greater)
|
||||||
include(CGAL_Eigen3_support)
|
include(CGAL_Eigen3_support)
|
||||||
|
|
|
||||||
|
|
@ -8,9 +8,6 @@ set(CMAKE_CXX_STANDARD 14)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
include(CGAL_CreateSingleSourceCGALProgram)
|
|
||||||
|
|
||||||
# Find OSQP library and headers.
|
# Find OSQP library and headers.
|
||||||
find_package(OSQP QUIET)
|
find_package(OSQP QUIET)
|
||||||
include(CGAL_OSQP_support)
|
include(CGAL_OSQP_support)
|
||||||
|
|
|
||||||
|
|
@ -8,9 +8,6 @@ set(CMAKE_CXX_STANDARD 14)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
include(CGAL_CreateSingleSourceCGALProgram)
|
|
||||||
|
|
||||||
# Find OSQP library and headers.
|
# Find OSQP library and headers.
|
||||||
find_package(OSQP QUIET)
|
find_package(OSQP QUIET)
|
||||||
include(CGAL_OSQP_support)
|
include(CGAL_OSQP_support)
|
||||||
|
|
|
||||||
|
|
@ -5,11 +5,7 @@ cmake_minimum_required(VERSION 3.1...3.20)
|
||||||
project( Straight_skeleton_2_Examples )
|
project( Straight_skeleton_2_Examples )
|
||||||
|
|
||||||
|
|
||||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
find_package(CGAL REQUIRED COMPONENTS Qt5 Core)
|
||||||
|
|
||||||
find_package(CGAL COMPONENTS Qt5)
|
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
|
|
||||||
# create a target per cppfile
|
# create a target per cppfile
|
||||||
file(GLOB cppfiles RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
|
file(GLOB cppfiles RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,6 @@ project(Straight_skeleton_2_Tests)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
include_directories(BEFORE "include")
|
include_directories(BEFORE "include")
|
||||||
|
|
||||||
# create a target per cppfile
|
# create a target per cppfile
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,6 @@ project(Surface_mesh_approximation_Examples)
|
||||||
# CGAL and its components
|
# CGAL and its components
|
||||||
find_package(CGAL REQUIRED)
|
find_package(CGAL REQUIRED)
|
||||||
|
|
||||||
# include helper file
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
|
|
||||||
# Boost
|
# Boost
|
||||||
find_package(Boost)
|
find_package(Boost)
|
||||||
if(NOT Boost_FOUND)
|
if(NOT Boost_FOUND)
|
||||||
|
|
@ -30,8 +27,6 @@ endif()
|
||||||
# Creating entries for all C++ files with "main" routine
|
# Creating entries for all C++ files with "main" routine
|
||||||
# ##########################################################
|
# ##########################################################
|
||||||
|
|
||||||
include(CGAL_CreateSingleSourceCGALProgram)
|
|
||||||
|
|
||||||
create_single_source_cgal_program("vsa_approximation_2_example.cpp")
|
create_single_source_cgal_program("vsa_approximation_2_example.cpp")
|
||||||
target_link_libraries(vsa_approximation_2_example PUBLIC CGAL::Eigen3_support)
|
target_link_libraries(vsa_approximation_2_example PUBLIC CGAL::Eigen3_support)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,6 @@ project(Surface_mesh_approximation_Tests)
|
||||||
# CGAL and its components
|
# CGAL and its components
|
||||||
find_package(CGAL REQUIRED)
|
find_package(CGAL REQUIRED)
|
||||||
|
|
||||||
# include helper file
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
|
|
||||||
# Boost
|
# Boost
|
||||||
find_package(Boost)
|
find_package(Boost)
|
||||||
if(NOT Boost_FOUND)
|
if(NOT Boost_FOUND)
|
||||||
|
|
@ -30,8 +27,6 @@ endif()
|
||||||
# Creating entries for all C++ files with "main" routine
|
# Creating entries for all C++ files with "main" routine
|
||||||
# ##########################################################
|
# ##########################################################
|
||||||
|
|
||||||
include(CGAL_CreateSingleSourceCGALProgram)
|
|
||||||
|
|
||||||
create_single_source_cgal_program("vsa_class_interface_test.cpp")
|
create_single_source_cgal_program("vsa_class_interface_test.cpp")
|
||||||
target_link_libraries(vsa_class_interface_test PUBLIC CGAL::Eigen3_support)
|
target_link_libraries(vsa_class_interface_test PUBLIC CGAL::Eigen3_support)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,6 @@ project(Surface_mesh_shortest_path_Tests)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED OPTIONAL_COMPONENTS Core)
|
find_package(CGAL REQUIRED OPTIONAL_COMPONENTS Core)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
|
|
||||||
find_package(LEDA QUIET)
|
find_package(LEDA QUIET)
|
||||||
|
|
||||||
include_directories(BEFORE "include")
|
include_directories(BEFORE "include")
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@ project(Surface_mesh_simplification_Examples)
|
||||||
# CGAL and its components
|
# CGAL and its components
|
||||||
find_package(CGAL REQUIRED)
|
find_package(CGAL REQUIRED)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
|
|
||||||
# Boost and its components
|
# Boost and its components
|
||||||
find_package(Boost)
|
find_package(Boost)
|
||||||
if(NOT Boost_FOUND)
|
if(NOT Boost_FOUND)
|
||||||
|
|
|
||||||
|
|
@ -11,8 +11,6 @@ find_package(CGAL REQUIRED COMPONENTS ImageIO)
|
||||||
|
|
||||||
if(CGAL_ImageIO_FOUND)
|
if(CGAL_ImageIO_FOUND)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
|
|
||||||
create_single_source_cgal_program("mesh_a_3d_gray_image.cpp")
|
create_single_source_cgal_program("mesh_a_3d_gray_image.cpp")
|
||||||
create_single_source_cgal_program("mesh_an_implicit_function.cpp")
|
create_single_source_cgal_program("mesh_an_implicit_function.cpp")
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,6 @@ set(TRAP 1) # Trapezoidal decomposition
|
||||||
set(NAIVE 2)
|
set(NAIVE 2)
|
||||||
set(WALK 3)
|
set(WALK 3)
|
||||||
|
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
|
|
||||||
function(compile name source_file point_location traits)
|
function(compile name source_file point_location traits)
|
||||||
# message(compile ${source_file})
|
# message(compile ${source_file})
|
||||||
add_executable(${name} ${source_file})
|
add_executable(${name} ${source_file})
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@ cmake_minimum_required(VERSION 3.1...3.20)
|
||||||
set(CMAKE_CXX_STANDARD 14)
|
set(CMAKE_CXX_STANDARD 14)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
include(CGAL_CreateSingleSourceCGALProgram)
|
|
||||||
|
|
||||||
create_single_source_cgal_program("weights.cpp")
|
create_single_source_cgal_program("weights.cpp")
|
||||||
create_single_source_cgal_program("coordinates_one_query.cpp")
|
create_single_source_cgal_program("coordinates_one_query.cpp")
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@ cmake_minimum_required(VERSION 3.1...3.20)
|
||||||
set(CMAKE_CXX_STANDARD 14)
|
set(CMAKE_CXX_STANDARD 14)
|
||||||
|
|
||||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||||
include(${CGAL_USE_FILE})
|
|
||||||
include(CGAL_CreateSingleSourceCGALProgram)
|
|
||||||
|
|
||||||
create_single_source_cgal_program("test_uniform_weights.cpp")
|
create_single_source_cgal_program("test_uniform_weights.cpp")
|
||||||
create_single_source_cgal_program("test_shepard_weights.cpp")
|
create_single_source_cgal_program("test_shepard_weights.cpp")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue