mirror of https://github.com/CGAL/cgal
Purge CMakeLists.txts from obsolete code / noise
This commit is contained in:
parent
7cb21c24b0
commit
4fc486b195
|
|
@ -7,7 +7,6 @@ find_package(MPFI QUIET)
|
|||
|
||||
if(MPFI_FOUND AND NOT CGAL_DISABLE_GMP)
|
||||
include(${MPFI_USE_FILE})
|
||||
include(CGAL_VersionUtils)
|
||||
create_single_source_cgal_program("Compare_1.cpp")
|
||||
create_single_source_cgal_program("Construct_algebraic_real_1.cpp")
|
||||
create_single_source_cgal_program("Isolate_1.cpp")
|
||||
|
|
|
|||
|
|
@ -14,24 +14,9 @@ if(RS3_FOUND)
|
|||
include(${RS3_USE_FILE})
|
||||
endif()
|
||||
|
||||
# Boost and its components
|
||||
find_package(Boost)
|
||||
|
||||
if(NOT Boost_FOUND)
|
||||
|
||||
message(
|
||||
STATUS "This project requires the Boost library, and will not be compiled.")
|
||||
|
||||
return()
|
||||
|
||||
endif()
|
||||
|
||||
# include for local directory
|
||||
include_directories(BEFORE include)
|
||||
|
||||
# Creating entries for all .cpp/.C files with "main" routine
|
||||
# ##########################################################
|
||||
|
||||
create_single_source_cgal_program("cyclic.cpp")
|
||||
create_single_source_cgal_program("Descartes.cpp")
|
||||
|
||||
|
|
|
|||
|
|
@ -124,9 +124,6 @@ if (CGAL_FOUND AND CGAL_Qt5_FOUND AND Qt5_FOUND)
|
|||
else()
|
||||
set(MISSING_DEPS "")
|
||||
|
||||
if(NOT CGAL_FOUND)
|
||||
set(MISSING_DEPS "CGAL, ${MISSING_DEPS}")
|
||||
endif()
|
||||
if(NOT CGAL_Qt5_FOUND)
|
||||
set(MISSING_DEPS "the CGAL Qt5 library, ${MISSING_DEPS}")
|
||||
endif()
|
||||
|
|
|
|||
|
|
@ -7,23 +7,6 @@ project(BGL_LCC_Examples)
|
|||
# CGAL and its components
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
# Boost and its components
|
||||
find_package(Boost REQUIRED)
|
||||
|
||||
if(NOT Boost_FOUND)
|
||||
|
||||
message(
|
||||
STATUS "This project requires the Boost library, and will not be compiled.")
|
||||
|
||||
return()
|
||||
|
||||
endif()
|
||||
|
||||
# include for local directory
|
||||
|
||||
# Creating entries for all C++ files with "main" routine
|
||||
# ##########################################################
|
||||
|
||||
# create a target per cppfile
|
||||
file(
|
||||
GLOB_RECURSE cppfiles
|
||||
|
|
|
|||
|
|
@ -7,38 +7,9 @@ project(BGL_OpenMesh_Examples)
|
|||
# CGAL and its components
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
# Boost and its components
|
||||
find_package(Boost REQUIRED)
|
||||
|
||||
if(NOT Boost_FOUND)
|
||||
|
||||
message(
|
||||
STATUS "This project requires the Boost library, and will not be compiled.")
|
||||
|
||||
return()
|
||||
|
||||
endif()
|
||||
|
||||
find_package(OpenMesh QUIET)
|
||||
|
||||
if(OpenMesh_FOUND)
|
||||
include(UseOpenMesh)
|
||||
else()
|
||||
|
||||
message(
|
||||
STATUS "NOTICE: These examples require OpenMesh and will not be compiled.")
|
||||
return()
|
||||
|
||||
endif()
|
||||
|
||||
# include for local directory
|
||||
|
||||
# include for local package
|
||||
|
||||
# Creating entries for all C++ files with "main" routine
|
||||
# ##########################################################
|
||||
|
||||
if(OpenMesh_FOUND)
|
||||
create_single_source_cgal_program("TriMesh.cpp")
|
||||
target_link_libraries(TriMesh PRIVATE ${OPENMESH_LIBRARIES})
|
||||
else()
|
||||
|
|
|
|||
|
|
@ -8,25 +8,6 @@ project(BGL_graphcut_Examples)
|
|||
# CGAL and its components
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
# Boost and its components
|
||||
find_package(Boost REQUIRED)
|
||||
|
||||
if(NOT Boost_FOUND)
|
||||
|
||||
message(
|
||||
STATUS "This project requires the Boost library, and will not be compiled.")
|
||||
|
||||
return()
|
||||
|
||||
endif()
|
||||
|
||||
# include for local directory
|
||||
|
||||
# include for local package
|
||||
|
||||
# Creating entries for all C++ files with "main" routine
|
||||
# ##########################################################
|
||||
|
||||
create_single_source_cgal_program("alpha_expansion_example.cpp")
|
||||
create_single_source_cgal_program(
|
||||
"face_selection_borders_regularization_example.cpp")
|
||||
|
|
|
|||
|
|
@ -7,25 +7,6 @@ project(BGL_polyhedron_3_Examples)
|
|||
# CGAL and its components
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
# Boost and its components
|
||||
find_package(Boost REQUIRED)
|
||||
|
||||
if(NOT Boost_FOUND)
|
||||
|
||||
message(
|
||||
STATUS "This project requires the Boost library, and will not be compiled.")
|
||||
|
||||
return()
|
||||
|
||||
endif()
|
||||
|
||||
# include for local directory
|
||||
|
||||
# include for local package
|
||||
|
||||
# Creating entries for all C++ files with "main" routine
|
||||
# ##########################################################
|
||||
|
||||
create_single_source_cgal_program("distance.cpp")
|
||||
create_single_source_cgal_program("incident_vertices.cpp")
|
||||
create_single_source_cgal_program("kruskal.cpp")
|
||||
|
|
|
|||
|
|
@ -3,8 +3,6 @@ project(BGL_surface_mesh_Examples)
|
|||
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
# include for local package
|
||||
|
||||
create_single_source_cgal_program("prim.cpp")
|
||||
create_single_source_cgal_program("gwdwg.cpp")
|
||||
create_single_source_cgal_program("seam_mesh.cpp")
|
||||
|
|
|
|||
|
|
@ -7,15 +7,6 @@ project(BGL_Tests)
|
|||
# CGAL and its components
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
# Boost and its components
|
||||
find_package(Boost)
|
||||
|
||||
if(NOT Boost_FOUND)
|
||||
message(
|
||||
STATUS "This project requires the Boost library, and will not be compiled.")
|
||||
return()
|
||||
endif()
|
||||
|
||||
find_package(OpenMesh QUIET)
|
||||
|
||||
if(OpenMesh_FOUND)
|
||||
|
|
@ -24,17 +15,10 @@ if(OpenMesh_FOUND)
|
|||
else()
|
||||
message(STATUS "Tests that use OpenMesh will not be compiled.")
|
||||
endif()
|
||||
|
||||
# include for local package
|
||||
|
||||
# Creating entries for all .cpp/.C files with "main" routine
|
||||
# ##########################################################
|
||||
|
||||
if(OpenMesh_FOUND)
|
||||
create_single_source_cgal_program("graph_concept_OpenMesh.cpp")
|
||||
target_link_libraries(graph_concept_OpenMesh PRIVATE ${OPENMESH_LIBRARIES})
|
||||
endif()
|
||||
|
||||
create_single_source_cgal_program("test_split.cpp")
|
||||
create_single_source_cgal_program("next.cpp")
|
||||
create_single_source_cgal_program("test_circulator.cpp")
|
||||
|
|
|
|||
|
|
@ -6,8 +6,6 @@ project(Barycentric_coordinates_2_Benchmarks)
|
|||
cmake_minimum_required(VERSION 3.1...3.23)
|
||||
|
||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||
include(${CGAL_USE_FILE})
|
||||
include(CGAL_CreateSingleSourceCGALProgram)
|
||||
|
||||
create_single_source_cgal_program("benchmark_segment_coordinates.cpp")
|
||||
create_single_source_cgal_program("benchmark_triangle_coordinates.cpp")
|
||||
|
|
|
|||
|
|
@ -5,27 +5,8 @@ project(Core_Examples)
|
|||
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||
|
||||
if(NOT CGAL_Core_FOUND)
|
||||
|
||||
message(
|
||||
STATUS
|
||||
"This project requires the CGAL_Core library, and will not be compiled.")
|
||||
message("NOTICE: This project requires the CGAL_Core library, and will not be compiled.")
|
||||
return()
|
||||
|
||||
endif()
|
||||
|
||||
# Boost and its components
|
||||
find_package(Boost)
|
||||
|
||||
if(NOT Boost_FOUND)
|
||||
|
||||
message(
|
||||
STATUS "This project requires the Boost library, and will not be compiled.")
|
||||
|
||||
return()
|
||||
|
||||
endif()
|
||||
|
||||
# Creating entries for all .cpp/.C files with "main" routine
|
||||
# ##########################################################
|
||||
|
||||
create_single_source_cgal_program("delaunay.cpp")
|
||||
|
|
|
|||
|
|
@ -6,15 +6,7 @@ project(CGALimageIO_Examples)
|
|||
|
||||
find_package(CGAL REQUIRED COMPONENTS ImageIO)
|
||||
|
||||
if(CGAL_ImageIO_FOUND)
|
||||
|
||||
create_single_source_cgal_program("convert_raw_image_to_inr.cpp")
|
||||
create_single_source_cgal_program("test_imageio.cpp")
|
||||
create_single_source_cgal_program("extract_a_sub_image.cpp")
|
||||
create_single_source_cgal_program("slice_image.cpp")
|
||||
else()
|
||||
message(
|
||||
STATUS
|
||||
"NOTICE: This demo needs the CGAL ImageIO library, and will not be compiled."
|
||||
)
|
||||
endif()
|
||||
create_single_source_cgal_program("convert_raw_image_to_inr.cpp")
|
||||
create_single_source_cgal_program("test_imageio.cpp")
|
||||
create_single_source_cgal_program("extract_a_sub_image.cpp")
|
||||
create_single_source_cgal_program("slice_image.cpp")
|
||||
|
|
|
|||
|
|
@ -7,15 +7,6 @@ project(Classification_Examples)
|
|||
# CGAL and its components
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
# Boost and its components
|
||||
find_package(Boost REQUIRED)
|
||||
|
||||
if(NOT Boost_FOUND)
|
||||
message(
|
||||
STATUS "This project requires the Boost library, and will not be compiled.")
|
||||
return()
|
||||
endif()
|
||||
|
||||
set(Classification_dependencies_met TRUE)
|
||||
|
||||
find_package(Boost OPTIONAL_COMPONENTS serialization iostreams)
|
||||
|
|
|
|||
|
|
@ -7,15 +7,6 @@ project(Classification_Tests)
|
|||
# CGAL and its components
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
# Boost and its components
|
||||
find_package(Boost REQUIRED)
|
||||
|
||||
if(NOT Boost_FOUND)
|
||||
message(
|
||||
STATUS "This project requires the Boost library, and will not be compiled.")
|
||||
return()
|
||||
endif()
|
||||
|
||||
set(Classification_dependencies_met TRUE)
|
||||
|
||||
find_package(Boost OPTIONAL_COMPONENTS serialization iostreams)
|
||||
|
|
|
|||
|
|
@ -7,18 +7,6 @@ project(Convex_hull_3_Examples)
|
|||
# CGAL and its components
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
# Boost and its components
|
||||
find_package(Boost REQUIRED)
|
||||
|
||||
if(NOT Boost_FOUND)
|
||||
|
||||
message(
|
||||
STATUS "This project requires the Boost library, and will not be compiled.")
|
||||
|
||||
return()
|
||||
|
||||
endif()
|
||||
|
||||
find_package(OpenMesh QUIET)
|
||||
|
||||
if(OpenMesh_FOUND)
|
||||
|
|
@ -26,14 +14,6 @@ if(OpenMesh_FOUND)
|
|||
else()
|
||||
message(STATUS "Examples that use OpenMesh will not be compiled.")
|
||||
endif()
|
||||
|
||||
# include for local directory
|
||||
|
||||
# include for local package
|
||||
|
||||
# Creating entries for all C++ files with "main" routine
|
||||
# ##########################################################
|
||||
|
||||
create_single_source_cgal_program("quickhull_indexed_triangle_set_3.cpp")
|
||||
create_single_source_cgal_program("dynamic_hull_3.cpp")
|
||||
create_single_source_cgal_program("dynamic_hull_LCC_3.cpp")
|
||||
|
|
|
|||
|
|
@ -6,14 +6,6 @@ project(Convex_hull_3_Tests)
|
|||
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
find_package(OpenMesh QUIET)
|
||||
|
||||
if(OpenMesh_FOUND)
|
||||
include(UseOpenMesh)
|
||||
else()
|
||||
message(STATUS "Examples that use OpenMesh will not be compiled.")
|
||||
endif()
|
||||
|
||||
include_directories(BEFORE "include")
|
||||
|
||||
# create a target per cppfile
|
||||
|
|
|
|||
|
|
@ -8,8 +8,6 @@ add_executable(bench_simple_comparisons bench_simple_comparisons.cpp)
|
|||
|
||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||
|
||||
include(${CGAL_USE_FILE})
|
||||
|
||||
add_executable(bench_orientation_3 "orientation_3.cpp")
|
||||
target_link_libraries(bench_orientation_3 ${CGAL_LIBRARIES}
|
||||
${CGAL_3RD_PARTY_LIBRARIES})
|
||||
|
|
|
|||
|
|
@ -7,17 +7,6 @@ project(Generalized_map_Tests)
|
|||
# CGAL and its components
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
# Boost and its components
|
||||
find_package(Boost REQUIRED)
|
||||
|
||||
if(NOT Boost_FOUND)
|
||||
|
||||
message(
|
||||
STATUS "This project requires the Boost library, and will not be compiled.")
|
||||
|
||||
return()
|
||||
|
||||
endif()
|
||||
|
||||
set(hfiles Generalized_map_2_test.h Generalized_map_3_test.h
|
||||
Generalized_map_4_test.h GMap_test_insertions.h)
|
||||
|
|
|
|||
|
|
@ -22,9 +22,7 @@ if(CGAL_Qt5_FOUND AND Qt5_FOUND)
|
|||
add_definitions(-DQT_NO_KEYWORDS)
|
||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
#--------------------------------
|
||||
# The "Delaunay" demo: Alpha_shapes_2
|
||||
#--------------------------------
|
||||
|
||||
# UI files (Qt Designer files)
|
||||
qt5_wrap_ui(DT_UI_FILES Alpha_shapes_2.ui)
|
||||
|
||||
|
|
|
|||
|
|
@ -24,9 +24,6 @@ if(CGAL_Qt5_FOUND AND Qt5_FOUND)
|
|||
add_definitions(-DQT_NO_KEYWORDS)
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
|
||||
#----------------------------------------------
|
||||
# The "Bounding volumes" demo: Bounding_volumes
|
||||
#----------------------------------------------
|
||||
# UI files (Qt Designer files)
|
||||
qt5_wrap_ui(DT_UI_FILES Bounding_volumes.ui)
|
||||
|
||||
|
|
|
|||
|
|
@ -22,9 +22,6 @@ if(CGAL_Qt5_FOUND AND Qt5_FOUND)
|
|||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
|
||||
#--------------------------------
|
||||
# The demo: Circular_kernel_2
|
||||
#--------------------------------
|
||||
# UI files (Qt Designer files)
|
||||
qt5_wrap_ui(DT_UI_FILES Circular_kernel_2.ui)
|
||||
|
||||
|
|
|
|||
|
|
@ -22,9 +22,6 @@ if(CGAL_Qt5_FOUND AND Qt5_FOUND)
|
|||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
|
||||
#--------------------------------
|
||||
# Demo: Generator_2
|
||||
#--------------------------------
|
||||
# UI files (Qt Designer files)
|
||||
qt5_wrap_ui(DT_UI_FILES Generator_2.ui)
|
||||
|
||||
|
|
|
|||
|
|
@ -24,9 +24,6 @@ if(CGAL_Qt5_FOUND AND Qt5_FOUND)
|
|||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
|
||||
#--------------------------------
|
||||
# The "L1 Voronoi diagram" demo: L1_voronoi_diagram_2
|
||||
#--------------------------------
|
||||
# UI files (Qt Designer files)
|
||||
qt5_wrap_ui(DT_UI_FILES L1_voronoi_diagram_2.ui)
|
||||
|
||||
|
|
|
|||
|
|
@ -23,9 +23,6 @@ if(CGAL_Qt5_FOUND AND Qt5_FOUND)
|
|||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
|
||||
#--------------------------------
|
||||
# Demo: Largest_empty_rectangle_2
|
||||
#--------------------------------
|
||||
# UI files (Qt Designer files)
|
||||
qt5_wrap_ui(DT_UI_FILES Largest_empty_rectangle_2.ui)
|
||||
|
||||
|
|
|
|||
|
|
@ -21,9 +21,6 @@ if(CGAL_Qt5_FOUND AND Qt5_FOUND)
|
|||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
|
||||
#--------------------------------
|
||||
# The "2D Periodic triangulation" demo: Periodic_2_triangulation_2
|
||||
#--------------------------------
|
||||
# UI files (Qt Designer files)
|
||||
qt5_wrap_ui(DT_UI_FILES Periodic_2_triangulation_2.ui)
|
||||
|
||||
|
|
|
|||
|
|
@ -33,9 +33,6 @@ if(CGAL_Qt5_FOUND AND Qt5_FOUND)
|
|||
add_definitions(-DCGAL_USE_CORE)
|
||||
endif()
|
||||
|
||||
#--------------------------------
|
||||
# Demo: Polygon_2
|
||||
#--------------------------------
|
||||
# UI files (Qt Designer files)
|
||||
qt5_wrap_ui(DT_UI_FILES Polygon_2.ui)
|
||||
|
||||
|
|
|
|||
|
|
@ -29,9 +29,6 @@ if(CGAL_Qt5_FOUND AND Qt5_FOUND)
|
|||
include(${CGAL_USE_FILE})
|
||||
add_definitions(-DQT_NO_KEYWORDS)
|
||||
|
||||
#--------------------------------
|
||||
# The "Segment Voronoi" demo: Segment_voronoi_2
|
||||
#--------------------------------
|
||||
# UI files (Qt Designer files)
|
||||
qt5_wrap_ui(CDT_UI_FILES Segment_voronoi_2.ui)
|
||||
|
||||
|
|
|
|||
|
|
@ -28,9 +28,6 @@ if(CGAL_Qt5_FOUND AND Qt5_FOUND)
|
|||
include(${CGAL_USE_FILE})
|
||||
add_definitions(-DQT_NO_KEYWORDS)
|
||||
|
||||
#--------------------------------
|
||||
# The "Segment Voronoi Linf" demo: Segment_voronoi_linf_2
|
||||
#--------------------------------
|
||||
# UI files (Qt Designer files)
|
||||
qt5_wrap_ui(CDT_UI_FILES Segment_voronoi_2.ui)
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@ if(CGAL_Qt5_FOUND AND Qt5_FOUND)
|
|||
add_definitions(-DQT_NO_KEYWORDS)
|
||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
|
||||
#--------------------------------
|
||||
# UI files (Qt Designer files)
|
||||
qt5_wrap_ui(DT_UI_FILES Snap_rounding_2.ui)
|
||||
|
||||
|
|
|
|||
|
|
@ -23,9 +23,6 @@ if(CGAL_Qt5_FOUND AND Qt5_FOUND)
|
|||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
|
||||
#--------------------------------
|
||||
# Demo: Spatial_searching_2
|
||||
#--------------------------------
|
||||
# UI files (Qt Designer files)
|
||||
qt5_wrap_ui(DT_UI_FILES Spatial_searching_2.ui)
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@ if(CGAL_Qt5_FOUND AND Qt5_FOUND)
|
|||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
|
||||
#--------------------------------
|
||||
# UI files (Qt Designer files)
|
||||
qt5_wrap_ui(DT_UI_FILES Stream_lines_2.ui)
|
||||
|
||||
|
|
|
|||
|
|
@ -7,25 +7,6 @@ project(Hash_map)
|
|||
# CGAL and its components
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
# Boost and its components
|
||||
find_package(Boost REQUIRED)
|
||||
|
||||
if(NOT Boost_FOUND)
|
||||
|
||||
message(
|
||||
STATUS "This project requires the Boost library, and will not be compiled.")
|
||||
|
||||
return()
|
||||
|
||||
endif()
|
||||
|
||||
# include for local directory
|
||||
|
||||
# include for local package
|
||||
|
||||
# Creating entries for all .cpp/.C files with "main" routine
|
||||
# ##########################################################
|
||||
|
||||
create_single_source_cgal_program("hm.cpp")
|
||||
create_single_source_cgal_program("foreach.cpp")
|
||||
create_single_source_cgal_program("triangulation.cpp")
|
||||
|
|
|
|||
|
|
@ -7,18 +7,6 @@ project(Heat_method_3_Examples)
|
|||
# CGAL and its components
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
# Boost and its components
|
||||
find_package(Boost REQUIRED)
|
||||
|
||||
if(NOT Boost_FOUND)
|
||||
|
||||
message(
|
||||
STATUS "This project requires the Boost library, and will not be compiled.")
|
||||
|
||||
return()
|
||||
|
||||
endif()
|
||||
|
||||
find_package(Eigen3 3.3.0)
|
||||
include(CGAL_Eigen3_support)
|
||||
if(NOT TARGET CGAL::Eigen3_support)
|
||||
|
|
@ -29,9 +17,6 @@ endif()
|
|||
# include for local directory
|
||||
include_directories(BEFORE include)
|
||||
|
||||
# Creating entries for all C++ files with "main" routine
|
||||
# ##########################################################
|
||||
|
||||
create_single_source_cgal_program("heat_method.cpp")
|
||||
target_link_libraries(heat_method PUBLIC CGAL::Eigen3_support)
|
||||
create_single_source_cgal_program("heat_method_polyhedron.cpp")
|
||||
|
|
|
|||
|
|
@ -7,18 +7,6 @@ project(Heat_method_3_Tests)
|
|||
# CGAL and its components
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
# Boost and its components
|
||||
find_package(Boost REQUIRED)
|
||||
|
||||
if(NOT Boost_FOUND)
|
||||
|
||||
message(
|
||||
STATUS "This project requires the Boost library, and will not be compiled.")
|
||||
|
||||
return()
|
||||
|
||||
endif()
|
||||
|
||||
find_package(Eigen3 3.3.0)
|
||||
include(CGAL_Eigen3_support)
|
||||
if(NOT TARGET CGAL::Eigen3_support)
|
||||
|
|
@ -29,9 +17,6 @@ endif()
|
|||
# include for local directory
|
||||
include_directories(BEFORE include)
|
||||
|
||||
# Creating entries for all C++ files with "main" routine
|
||||
# ##########################################################
|
||||
|
||||
create_single_source_cgal_program("heat_method_concept.cpp")
|
||||
target_link_libraries(heat_method_concept PUBLIC CGAL::Eigen3_support)
|
||||
create_single_source_cgal_program("heat_method_surface_mesh_test.cpp")
|
||||
|
|
|
|||
|
|
@ -6,8 +6,4 @@ project(Hyperbolic_triangulation_2_benchmark)
|
|||
|
||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||
|
||||
include(${CGAL_USE_FILE})
|
||||
|
||||
include(CGAL_CreateSingleSourceCGALProgram)
|
||||
|
||||
create_single_source_cgal_program("bench_insertion_with_different_kernels.cpp")
|
||||
|
|
|
|||
|
|
@ -8,13 +8,6 @@ endif()
|
|||
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
find_package(Boost 1.43.0)
|
||||
if(Boost_FOUND)
|
||||
include_directories(${Boost_INCLUDE_DIRS})
|
||||
else()
|
||||
set(USE_IN_SOURCE_TREE_BOOST true)
|
||||
endif()
|
||||
|
||||
add_subdirectory(openvolumemesh)
|
||||
|
||||
include_directories(BEFORE openvolumemesh/src)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@ if(CGAL_MESH_3_VERBOSE)
|
|||
endif()
|
||||
|
||||
find_package(CGAL REQUIRED COMPONENTS ImageIO)
|
||||
find_package(Boost)
|
||||
|
||||
option(CGAL_ACTIVATE_CONCURRENT_MESH_3 "Activate parallelism in Mesh_3" OFF)
|
||||
|
||||
|
|
|
|||
|
|
@ -4,13 +4,6 @@
|
|||
cmake_minimum_required(VERSION 3.1...3.23)
|
||||
project(Minkowski_sum_2_Tests)
|
||||
|
||||
# Commented out C++11 for now
|
||||
# list(FIND CMAKE_CXX_COMPILE_FEATURES cxx_generalized_initializers has_cpp11)
|
||||
# if (has_cpp11 LESS 0)
|
||||
# message(STATUS "NOTICE: These examples requires a C++11 compiler and will not be compiled.")
|
||||
# return()
|
||||
# endif()
|
||||
|
||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||
|
||||
# create a target per cppfile
|
||||
|
|
|
|||
|
|
@ -8,8 +8,6 @@ project(Number_types_Tests)
|
|||
|
||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||
|
||||
include(CGAL_VersionUtils)
|
||||
|
||||
include_directories(BEFORE include)
|
||||
|
||||
create_single_source_cgal_program("bench_interval.cpp")
|
||||
|
|
@ -86,11 +84,8 @@ if(NOT CGAL_DISABLE_GMP)
|
|||
else()#NOT CGAL_DISABLE_GMP
|
||||
message(STATUS "NOTICE: Some tests require the CGAL_Core library, and will not be compiled.")
|
||||
endif()#NOT CGAL_DISABLE_GMP
|
||||
|
||||
# all the programs below will be linked against MPFI in case it is present
|
||||
create_single_source_cgal_program("Quotient_new.cpp")
|
||||
create_single_source_cgal_program("test_nt_Coercion_traits.cpp")
|
||||
|
||||
find_package(Boost)
|
||||
if(Boost_FOUND)
|
||||
create_single_source_cgal_program("to_interval_test_boost.cpp")
|
||||
endif()
|
||||
|
|
|
|||
|
|
@ -7,8 +7,6 @@ project(Optimal_bounding_box_Benchmark)
|
|||
# CGAL and its components
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
# include helper file
|
||||
include(${CGAL_USE_FILE})
|
||||
|
||||
find_package(Eigen3 3.1.0 REQUIRED) #(3.1.0 or greater)
|
||||
include(CGAL_Eigen3_support)
|
||||
|
|
|
|||
|
|
@ -7,29 +7,15 @@ project(Periodic_3_mesh_3_Examples)
|
|||
# CGAL and its components
|
||||
find_package(CGAL REQUIRED COMPONENTS ImageIO)
|
||||
|
||||
# include for local package
|
||||
|
||||
# Use Eigen
|
||||
find_package(Eigen3 3.1.0 REQUIRED) #(3.1.0 or greater)
|
||||
include(CGAL_Eigen3_support)
|
||||
if(NOT TARGET CGAL::Eigen3_support)
|
||||
message(
|
||||
STATUS "This project requires the Eigen library, and will not be compiled.")
|
||||
message("NOTICE: This project requires the Eigen library, and will not be compiled.")
|
||||
return()
|
||||
endif()
|
||||
|
||||
# Boost and its components
|
||||
find_package(Boost)
|
||||
|
||||
if(NOT Boost_FOUND)
|
||||
message(
|
||||
STATUS "This project requires the Boost library, and will not be compiled.")
|
||||
return()
|
||||
endif()
|
||||
|
||||
# Creating entries for all C++ files with "main" routine
|
||||
# ##########################################################
|
||||
|
||||
create_single_source_cgal_program("mesh_implicit_shape.cpp")
|
||||
create_single_source_cgal_program("mesh_implicit_multi_domain.cpp")
|
||||
create_single_source_cgal_program("mesh_implicit_shape_with_subdomains.cpp")
|
||||
|
|
|
|||
|
|
@ -6,10 +6,6 @@ project(Periodic_4_hyperbolic_triangulation_2_Benchmarks)
|
|||
|
||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||
|
||||
include(${CGAL_USE_FILE})
|
||||
|
||||
include(CGAL_CreateSingleSourceCGALProgram)
|
||||
|
||||
create_single_source_cgal_program("bench_p4ht2_hyperbolic_vs_euclidean.cpp")
|
||||
create_single_source_cgal_program("bench_p4ht2_insertion.cpp")
|
||||
create_single_source_cgal_program("bench_p4ht2_remove_dummy_points.cpp")
|
||||
|
|
|
|||
|
|
@ -7,21 +7,6 @@ project(Point_set_3_Examples)
|
|||
# CGAL and its components
|
||||
find_package(CGAL REQUIRED OPTIONAL_COMPONENTS Qt5)
|
||||
|
||||
# Boost and its components
|
||||
find_package(Boost REQUIRED)
|
||||
|
||||
if(NOT Boost_FOUND)
|
||||
|
||||
message(
|
||||
STATUS "This project requires the Boost library, and will not be compiled.")
|
||||
|
||||
return()
|
||||
|
||||
endif()
|
||||
|
||||
# Creating entries for all C++ files with "main" routine
|
||||
# ##########################################################
|
||||
|
||||
create_single_source_cgal_program("point_set.cpp")
|
||||
create_single_source_cgal_program("point_set_property.cpp")
|
||||
create_single_source_cgal_program("point_set_read_xyz.cpp")
|
||||
|
|
|
|||
|
|
@ -7,25 +7,6 @@ project(Point_set_3_Tests)
|
|||
# CGAL and its components
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
# Boost and its components
|
||||
find_package(Boost REQUIRED)
|
||||
|
||||
if(NOT Boost_FOUND)
|
||||
|
||||
message(
|
||||
STATUS "This project requires the Boost library, and will not be compiled.")
|
||||
|
||||
return()
|
||||
|
||||
endif()
|
||||
|
||||
# include for local directory
|
||||
|
||||
# include for local package
|
||||
|
||||
# Creating entries for all C++ files with "main" routine
|
||||
# ##########################################################
|
||||
|
||||
create_single_source_cgal_program("point_set_test.cpp")
|
||||
create_single_source_cgal_program("point_set_test_join.cpp")
|
||||
create_single_source_cgal_program("test_deprecated_io_ps.cpp")
|
||||
|
|
|
|||
|
|
@ -19,9 +19,6 @@ if (MSVC)
|
|||
message( STATUS "USING RELEASE EXEFLAGS = '${CMAKE_EXE_LINKER_FLAGS} ${CMAKE_EXE_LINKER_FLAGS_RELEASE}'" )
|
||||
endif()
|
||||
|
||||
# Temporary debugging stuff
|
||||
ADD_DEFINITIONS( "-DDEBUG_TRACE" )
|
||||
|
||||
find_package( TBB QUIET )
|
||||
include(CGAL_TBB_support)
|
||||
|
||||
|
|
|
|||
|
|
@ -7,26 +7,13 @@ project(Polygon_mesh_processing)
|
|||
# CGAL and its components
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
# Boost and its components
|
||||
find_package(Boost REQUIRED)
|
||||
|
||||
if(NOT Boost_FOUND)
|
||||
|
||||
message(
|
||||
STATUS "This project requires the Boost library, and will not be compiled.")
|
||||
|
||||
find_package(Eigen3 3.2.0) #(requires 3.2.0 or greater)
|
||||
include(CGAL_Eigen3_support)
|
||||
if(NOT TARGET CGAL::Eigen3_support)
|
||||
message("NOTICE: Benchmarks require Eigen 3.2 (or greater), and will not be compiled")
|
||||
return()
|
||||
endif()
|
||||
|
||||
# include for local directory
|
||||
|
||||
# include for local package
|
||||
find_package(Eigen3 REQUIRED 3.2.0) #(requires 3.2.0 or greater)
|
||||
include(CGAL_Eigen3_support)
|
||||
|
||||
# Creating entries for all .cpp/.C files with "main" routine
|
||||
# ##########################################################
|
||||
|
||||
set(FAST_ENVELOPE_BUILD_DIR "" CACHE PATH "Path to fast-evelope build directory")
|
||||
if (FAST_ENVELOPE_BUILD_DIR)
|
||||
message(STATUS "Using ${FAST_ENVELOPE_BUILD_DIR} as build directory of fast-evelope")
|
||||
|
|
|
|||
|
|
@ -8,23 +8,6 @@ cmake_minimum_required(VERSION 3.1...3.23)
|
|||
# CGAL and its components
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
# Boost and its components
|
||||
find_package(Boost REQUIRED)
|
||||
|
||||
if(NOT Boost_FOUND)
|
||||
|
||||
message(
|
||||
STATUS
|
||||
"NOTICE: This project requires the Boost library, and will not be compiled."
|
||||
)
|
||||
|
||||
return()
|
||||
|
||||
endif()
|
||||
|
||||
# Creating entries for all C++ files with "main" routine
|
||||
# ##########################################################
|
||||
|
||||
find_package(Eigen3 3.1.0) #(requires 3.1.0 or greater)
|
||||
include(CGAL_Eigen3_support)
|
||||
if(NOT TARGET CGAL::Eigen3_support)
|
||||
|
|
|
|||
|
|
@ -8,23 +8,6 @@ cmake_minimum_required(VERSION 3.1...3.23)
|
|||
# CGAL and its components
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
# Boost and its components
|
||||
find_package(Boost REQUIRED)
|
||||
|
||||
if(NOT Boost_FOUND)
|
||||
|
||||
message(
|
||||
STATUS
|
||||
"NOTICE: This project requires the Boost library, and will not be compiled."
|
||||
)
|
||||
|
||||
return()
|
||||
|
||||
endif()
|
||||
|
||||
# Creating entries for all C++ files with "main" routine
|
||||
# ##########################################################
|
||||
|
||||
find_package(Eigen3 3.1.0) #(requires 3.1.0 or greater)
|
||||
include(CGAL_Eigen3_support)
|
||||
if(NOT TARGET CGAL::Eigen3_support)
|
||||
|
|
|
|||
|
|
@ -8,14 +8,6 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|||
# Instruct CMake to run moc automatically when needed.
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
|
||||
list(FIND CMAKE_CXX_COMPILE_FEATURES cxx_generalized_initializers has_cpp11)
|
||||
if(has_cpp11 LESS 0)
|
||||
message(
|
||||
STATUS
|
||||
"NOTICE: This demo requires a C++11 compiler and will not be compiled.")
|
||||
return()
|
||||
endif()
|
||||
|
||||
#Defines flags to emulate windows behavior for linking error generation
|
||||
if(CMAKE_CXX_COMPILER_ID EQUAL Clang
|
||||
OR CMAKE_COMPILER_IS_GNUCC
|
||||
|
|
|
|||
|
|
@ -7,26 +7,6 @@ project(Polyline_simplification_2_Tests)
|
|||
# CGAL and its components
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
# Boost and its components
|
||||
find_package(Boost)
|
||||
|
||||
if(NOT Boost_FOUND)
|
||||
|
||||
message(
|
||||
STATUS "This project requires the Boost library, and will not be compiled.")
|
||||
|
||||
return()
|
||||
|
||||
endif()
|
||||
|
||||
# include for local directory
|
||||
|
||||
# include for local package
|
||||
|
||||
# Creating entries for all .cpp/.C files with "main" routine
|
||||
# ##########################################################
|
||||
|
||||
create_single_source_cgal_program( "issue-5774.cpp" )
|
||||
create_single_source_cgal_program( "simplify_polygon_test.cpp" )
|
||||
|
||||
create_single_source_cgal_program( "simplify_polyline_with_duplicate_points.cpp" )
|
||||
|
|
|
|||
|
|
@ -4,23 +4,6 @@ project(Property_map_Examples)
|
|||
# CGAL and its components
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
# Boost and its components
|
||||
find_package(Boost REQUIRED)
|
||||
|
||||
if(NOT Boost_FOUND)
|
||||
|
||||
message(
|
||||
STATUS "This project requires the Boost library, and will not be compiled.")
|
||||
|
||||
return()
|
||||
|
||||
endif()
|
||||
|
||||
# include for local directory
|
||||
|
||||
# Creating entries for all C++ files with "main" routine
|
||||
# ##########################################################
|
||||
|
||||
create_single_source_cgal_program("dynamic_properties.cpp")
|
||||
|
||||
find_package(Eigen3 3.1.0) #(requires 3.1.0 or greater)
|
||||
|
|
|
|||
|
|
@ -4,18 +4,6 @@ project(Property_map_Tests)
|
|||
# CGAL and its components
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
# Boost and its components
|
||||
find_package(Boost REQUIRED)
|
||||
|
||||
if(NOT Boost_FOUND)
|
||||
|
||||
message(
|
||||
STATUS "This project requires the Boost library, and will not be compiled.")
|
||||
|
||||
return()
|
||||
|
||||
endif()
|
||||
|
||||
find_package(OpenMesh QUIET)
|
||||
|
||||
if(OpenMesh_FOUND)
|
||||
|
|
@ -24,20 +12,9 @@ if(OpenMesh_FOUND)
|
|||
else()
|
||||
message(STATUS "Examples that use OpenMesh will not be compiled.")
|
||||
endif()
|
||||
|
||||
# include for local directory
|
||||
|
||||
# include for local package
|
||||
|
||||
# Creating entries for all C++ files with "main" routine
|
||||
# ##########################################################
|
||||
|
||||
create_single_source_cgal_program("test_property_map.cpp")
|
||||
|
||||
create_single_source_cgal_program("dynamic_property_map.cpp")
|
||||
|
||||
create_single_source_cgal_program("dynamic_properties_test.cpp")
|
||||
|
||||
create_single_source_cgal_program("kernel_converter_properties_test.cpp")
|
||||
|
||||
if(OpenMesh_FOUND)
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ project(Ridges_3_Examples)
|
|||
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
# use either Eigen
|
||||
find_package(Eigen3 3.1.0) #(requires 3.1.0 or greater)
|
||||
include(CGAL_Eigen3_support)
|
||||
if(TARGET CGAL::Eigen3_support)
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@ project(Ridges_3_Tests)
|
|||
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
# use either Eigen
|
||||
find_package(Eigen3 3.1.0) #(requires 3.1.0 or greater)
|
||||
include(CGAL_Eigen3_support)
|
||||
if(TARGET CGAL::Eigen3_support)
|
||||
|
|
|
|||
|
|
@ -6,8 +6,5 @@ project(copy_n_benchmark_example)
|
|||
|
||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||
|
||||
include(${CGAL_USE_FILE})
|
||||
|
||||
create_single_source_cgal_program("copy_n_benchmark.cpp")
|
||||
|
||||
create_single_source_cgal_program("copy_n_use_case_benchmark.cpp")
|
||||
|
|
|
|||
|
|
@ -6,8 +6,6 @@ project(Segment_Delaunay_graph_2_example)
|
|||
|
||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||
|
||||
include(${CGAL_USE_FILE})
|
||||
|
||||
create_single_source_cgal_program("benchmark.cpp")
|
||||
create_single_source_cgal_program("benchmark_nox.cpp")
|
||||
create_single_source_cgal_program("double.cpp")
|
||||
|
|
|
|||
|
|
@ -6,8 +6,6 @@ project(Segment_Delaunay_graph_2_example)
|
|||
|
||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||
|
||||
include(${CGAL_USE_FILE})
|
||||
|
||||
create_single_source_cgal_program("sdg-creation-time.cpp")
|
||||
create_single_source_cgal_program("benchmark-gen.cpp")
|
||||
create_single_source_cgal_program("incirc.cpp")
|
||||
|
|
|
|||
|
|
@ -4,16 +4,6 @@
|
|||
cmake_minimum_required(VERSION 3.1...3.23)
|
||||
project(Set_movable_separability_2_Examples)
|
||||
|
||||
list(FIND CMAKE_CXX_COMPILE_FEATURES cxx_generalized_initializers has_cpp11)
|
||||
if(has_cpp11 LESS 0)
|
||||
message(
|
||||
STATUS
|
||||
"NOTICE: These examples requires a C++11 compiler and will not be compiled."
|
||||
)
|
||||
return()
|
||||
endif()
|
||||
|
||||
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
create_single_source_cgal_program("top_edges_single_mold_trans_cast.cpp")
|
||||
|
|
|
|||
|
|
@ -11,16 +11,6 @@ if(CGAL_DIR)
|
|||
# Just to avoid a warning from CMake when that variable is set on the command line...
|
||||
endif()
|
||||
|
||||
list(FIND CMAKE_CXX_COMPILE_FEATURES cxx_generalized_initializers has_cpp11)
|
||||
if(has_cpp11 LESS 0)
|
||||
message(
|
||||
STATUS
|
||||
"NOTICE: These examples requires a C++11 compiler and will not be compiled."
|
||||
)
|
||||
return()
|
||||
endif()
|
||||
|
||||
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
create_single_source_cgal_program("test_top_edges_single_mold_trans_cast.cpp")
|
||||
|
|
|
|||
|
|
@ -7,9 +7,6 @@ cmake_minimum_required(VERSION 3.1...3.23)
|
|||
|
||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||
|
||||
include(${CGAL_USE_FILE})
|
||||
include(CGAL_CreateSingleSourceCGALProgram)
|
||||
|
||||
# Find OSQP library and headers.
|
||||
find_package(OSQP QUIET)
|
||||
include(CGAL_OSQP_support)
|
||||
|
|
|
|||
|
|
@ -6,7 +6,4 @@ project(tools_)
|
|||
|
||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||
|
||||
include(${CGAL_USE_FILE})
|
||||
include_directories(BEFORE "../include")
|
||||
|
||||
create_single_source_cgal_program("points_in_bbox.cpp")
|
||||
|
|
|
|||
|
|
@ -7,21 +7,11 @@ project(Spatial_searching_Examples)
|
|||
# CGAL and its components
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
find_package(Eigen3 3.1.91) #(requires 3.2.0 or greater)
|
||||
include(CGAL_Eigen3_support)
|
||||
|
||||
if(MSVC)
|
||||
# Turn off VC++ warning
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4244")
|
||||
endif()
|
||||
|
||||
# include for local directory
|
||||
|
||||
# include for local package
|
||||
|
||||
# Creating entries for all .cpp/.C files with "main" routine
|
||||
# ##########################################################
|
||||
|
||||
create_single_source_cgal_program("circular_query.cpp")
|
||||
create_single_source_cgal_program("distance_browsing.cpp")
|
||||
create_single_source_cgal_program("iso_rectangle_2_query.cpp")
|
||||
|
|
|
|||
|
|
@ -6,5 +6,4 @@ project(Spatial_sorting_)
|
|||
|
||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||
|
||||
include(${CGAL_USE_FILE})
|
||||
create_single_source_cgal_program("simple.cpp")
|
||||
|
|
|
|||
|
|
@ -7,24 +7,5 @@ project(Stream_support)
|
|||
# CGAL and its components
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
# Boost and its components
|
||||
find_package(Boost REQUIRED)
|
||||
|
||||
if(NOT Boost_FOUND)
|
||||
|
||||
message(
|
||||
STATUS "This project requires the Boost library, and will not be compiled.")
|
||||
|
||||
return()
|
||||
|
||||
endif()
|
||||
|
||||
# include for local directory
|
||||
|
||||
# include for local package
|
||||
|
||||
# Creating entries for all .cpp/.C files with "main" routine
|
||||
# ##########################################################
|
||||
|
||||
create_single_source_cgal_program("read_doubles.cpp")
|
||||
create_single_source_cgal_program("read_points.cpp")
|
||||
|
|
|
|||
|
|
@ -3,8 +3,6 @@ project(Surface_mesh_performance)
|
|||
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
include_directories(BEFORE "../include")
|
||||
|
||||
# For profilling with gprof
|
||||
#add_definitions("-pg")
|
||||
#SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pg")
|
||||
|
|
|
|||
|
|
@ -7,31 +7,5 @@ project(Surface_mesh_approximation_Benchmarks)
|
|||
# CGAL and its components
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
# include helper file
|
||||
include(${CGAL_USE_FILE})
|
||||
|
||||
# Boost and its components
|
||||
find_package(Boost REQUIRED)
|
||||
|
||||
if(NOT Boost_FOUND)
|
||||
|
||||
message(
|
||||
STATUS "This project requires the Boost library, and will not be compiled.")
|
||||
|
||||
return()
|
||||
|
||||
endif()
|
||||
|
||||
# include for local directory
|
||||
|
||||
# include for local package
|
||||
include_directories(BEFORE ../../include)
|
||||
|
||||
# Creating entries for all C++ files with "main" routine
|
||||
# ##########################################################
|
||||
|
||||
include(CGAL_CreateSingleSourceCGALProgram)
|
||||
|
||||
create_single_source_cgal_program("vsa_autoinit_timing_benchmark.cpp")
|
||||
|
||||
create_single_source_cgal_program("vsa_timing_benchmark.cpp")
|
||||
|
|
|
|||
|
|
@ -7,14 +7,6 @@ project(Surface_mesh_approximation_Examples)
|
|||
# CGAL and its components
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
# Boost
|
||||
find_package(Boost)
|
||||
if(NOT Boost_FOUND)
|
||||
message(
|
||||
STATUS "This project requires the Boost library, and will not be compiled.")
|
||||
return()
|
||||
endif()
|
||||
|
||||
# Use Eigen (for PCA)
|
||||
find_package(Eigen3 3.1.0 REQUIRED) #(3.1.0 or greater)
|
||||
include(CGAL_Eigen3_support)
|
||||
|
|
@ -23,9 +15,6 @@ if(NOT TARGET CGAL::Eigen3_support)
|
|||
return()
|
||||
endif()
|
||||
|
||||
# Creating entries for all C++ files with "main" routine
|
||||
# ##########################################################
|
||||
|
||||
create_single_source_cgal_program("vsa_approximation_2_example.cpp")
|
||||
target_link_libraries(vsa_approximation_2_example PUBLIC CGAL::Eigen3_support)
|
||||
|
||||
|
|
|
|||
|
|
@ -7,14 +7,6 @@ project(Surface_mesh_approximation_Tests)
|
|||
# CGAL and its components
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
# Boost
|
||||
find_package(Boost)
|
||||
if(NOT Boost_FOUND)
|
||||
message(
|
||||
STATUS "This project requires the Boost library, and will not be compiled.")
|
||||
return()
|
||||
endif()
|
||||
|
||||
# Use Eigen (for PCA)
|
||||
find_package(Eigen3 3.1.0 REQUIRED) #(3.1.0 or greater)
|
||||
include(CGAL_Eigen3_support)
|
||||
|
|
@ -23,9 +15,6 @@ if(NOT TARGET CGAL::Eigen3_support)
|
|||
return()
|
||||
endif()
|
||||
|
||||
# Creating entries for all C++ files with "main" routine
|
||||
# ##########################################################
|
||||
|
||||
create_single_source_cgal_program("vsa_class_interface_test.cpp")
|
||||
target_link_libraries(vsa_class_interface_test PUBLIC CGAL::Eigen3_support)
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,6 @@ project(benchmark_for_closest_rotation)
|
|||
|
||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||
|
||||
include(${CGAL_USE_FILE})
|
||||
|
||||
find_package(Eigen3 3.1.0) #(requires 3.1.0 or greater)
|
||||
include(CGAL_Eigen3_support)
|
||||
if(TARGET CGAL::Eigen3_support)
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
cmake_minimum_required(VERSION 3.1...3.23)
|
||||
project(Surface_mesh_parameterization_Examples)
|
||||
|
||||
# Find CGAL
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
find_package(Eigen3 3.1.0) #(requires 3.1.0 or greater)
|
||||
|
|
|
|||
|
|
@ -7,18 +7,6 @@ project(Surface_mesh_segmentation_Examples)
|
|||
# CGAL and its components
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
# Boost and its components
|
||||
find_package(Boost)
|
||||
|
||||
if(NOT Boost_FOUND)
|
||||
|
||||
message(
|
||||
STATUS "This project requires the Boost library, and will not be compiled.")
|
||||
|
||||
return()
|
||||
|
||||
endif()
|
||||
|
||||
find_package(OpenMesh QUIET)
|
||||
|
||||
if(OpenMesh_FOUND)
|
||||
|
|
@ -26,12 +14,6 @@ if(OpenMesh_FOUND)
|
|||
else()
|
||||
message(STATUS "Examples that use OpenMesh will not be compiled.")
|
||||
endif()
|
||||
|
||||
# include for local package
|
||||
|
||||
# Creating entries for all .cpp/.C files with "main" routine
|
||||
# ##########################################################
|
||||
|
||||
create_single_source_cgal_program("sdf_values_example.cpp")
|
||||
create_single_source_cgal_program("segmentation_from_sdf_values_example.cpp")
|
||||
create_single_source_cgal_program("segmentation_via_sdf_values_example.cpp")
|
||||
|
|
|
|||
|
|
@ -7,14 +7,6 @@ project(Surface_mesh_simplification_Examples)
|
|||
# CGAL and its components
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
# Boost and its components
|
||||
find_package(Boost)
|
||||
if(NOT Boost_FOUND)
|
||||
message(
|
||||
STATUS "This project requires the Boost library, and will not be compiled.")
|
||||
return()
|
||||
endif()
|
||||
|
||||
find_package(OpenMesh QUIET)
|
||||
|
||||
if(OpenMesh_FOUND)
|
||||
|
|
@ -22,10 +14,6 @@ if(OpenMesh_FOUND)
|
|||
else()
|
||||
message(STATUS "Examples that use OpenMesh will not be compiled.")
|
||||
endif()
|
||||
|
||||
# Creating entries for all .cpp/.C files with "main" routine
|
||||
# ##########################################################
|
||||
|
||||
create_single_source_cgal_program("edge_collapse_envelope.cpp")
|
||||
create_single_source_cgal_program("edge_collapse_constrain_sharp_edges.cpp")
|
||||
create_single_source_cgal_program("edge_collapse_constrained_border_polyhedron.cpp")
|
||||
|
|
|
|||
|
|
@ -4,28 +4,9 @@
|
|||
cmake_minimum_required(VERSION 3.1...3.23)
|
||||
project(Mean_curvature_skeleton)
|
||||
|
||||
#SET(CMAKE_BUILD_TYPE "Debug")
|
||||
#SET(GCC_COVERAGE_COMPILE_FLAGS "-fprofile-arcs -ftest-coverage")
|
||||
#SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GCC_COVERAGE_COMPILE_FLAGS}" )
|
||||
|
||||
# CGAL and its components
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
# Boost and its components
|
||||
find_package(Boost REQUIRED)
|
||||
|
||||
if(NOT Boost_FOUND)
|
||||
|
||||
message(
|
||||
STATUS "This project requires the Boost library, and will not be compiled.")
|
||||
|
||||
return()
|
||||
|
||||
endif()
|
||||
|
||||
# include for local directory
|
||||
|
||||
# include for local package
|
||||
find_package(Eigen3 3.2.0) #(requires 3.2.0 or greater)
|
||||
include(CGAL_Eigen3_support)
|
||||
|
||||
|
|
|
|||
|
|
@ -7,23 +7,4 @@ project(Surface_sweep_2_Examples)
|
|||
# CGAL and its components
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
# Boost and its components
|
||||
find_package(Boost REQUIRED)
|
||||
|
||||
if(NOT Boost_FOUND)
|
||||
|
||||
message(
|
||||
STATUS "This project requires the Boost library, and will not be compiled.")
|
||||
|
||||
return()
|
||||
|
||||
endif()
|
||||
|
||||
# include for local directory
|
||||
|
||||
# include for local package
|
||||
|
||||
# Creating entries for all .cpp/.C files with "main" routine
|
||||
# ##########################################################
|
||||
|
||||
create_single_source_cgal_program("plane_sweep.cpp")
|
||||
|
|
|
|||
|
|
@ -8,14 +8,6 @@ project(Tetrahedral_remeshing_Examples)
|
|||
# CGAL and its components
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
# Boost and its components
|
||||
find_package(Boost REQUIRED)
|
||||
if(NOT Boost_FOUND)
|
||||
message(
|
||||
STATUS "This project requires the Boost library, and will not be compiled.")
|
||||
return()
|
||||
endif()
|
||||
|
||||
# Use Eigen for Mesh_3
|
||||
find_package(Eigen3 3.1.0 REQUIRED) #(3.1.0 or greater)
|
||||
include(CGAL_Eigen3_support)
|
||||
|
|
|
|||
|
|
@ -7,18 +7,6 @@ project(Triangulation_apps)
|
|||
# CGAL and its components
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
# Boost and its components
|
||||
find_package(Boost REQUIRED)
|
||||
|
||||
if(NOT Boost_FOUND)
|
||||
|
||||
message(
|
||||
STATUS "This project requires the Boost library, and will not be compiled.")
|
||||
|
||||
return()
|
||||
|
||||
endif()
|
||||
|
||||
find_package(Eigen3 3.1.0)
|
||||
include(CGAL_Eigen3_support)
|
||||
if(NOT TARGET CGAL::Eigen3_support)
|
||||
|
|
@ -29,11 +17,6 @@ endif()
|
|||
# include for local directory
|
||||
include_directories(BEFORE include)
|
||||
|
||||
# include for local package
|
||||
|
||||
# Creating entries for all .cpp/.C files with "main" routine
|
||||
# ##########################################################
|
||||
|
||||
create_single_source_cgal_program("points_to_RT_to_off.cpp")
|
||||
target_link_libraries(points_to_RT_to_off PUBLIC CGAL::Eigen3_support)
|
||||
create_single_source_cgal_program("points_to_DT_to_off.cpp")
|
||||
|
|
|
|||
|
|
@ -6,8 +6,6 @@ project(Triangulation_benchmark)
|
|||
|
||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||
|
||||
include(${CGAL_USE_FILE})
|
||||
|
||||
find_package(Eigen3 3.1.0)
|
||||
include(CGAL_Eigen3_support)
|
||||
if(TARGET CGAL::Eigen3_support)
|
||||
|
|
@ -16,7 +14,6 @@ if(TARGET CGAL::Eigen3_support)
|
|||
target_link_libraries(delaunay PUBLIC CGAL::Eigen3_support)
|
||||
create_single_source_cgal_program("Td_vs_T2_and_T3.cpp")
|
||||
target_link_libraries(Td_vs_T2_and_T3 PUBLIC CGAL::Eigen3_support)
|
||||
|
||||
else()
|
||||
message("NOTICE: Executables in this directory require Eigen 3.1 (or greater), and will not be compiled.")
|
||||
endif()
|
||||
|
|
|
|||
|
|
@ -8,31 +8,9 @@ project(Triangulation_3)
|
|||
# CGAL and its components
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
# Boost and its components
|
||||
find_package(Boost REQUIRED)
|
||||
|
||||
if(NOT Boost_FOUND)
|
||||
|
||||
message(
|
||||
STATUS "This project requires the Boost library, and will not be compiled.")
|
||||
|
||||
return()
|
||||
|
||||
endif()
|
||||
|
||||
# include for local directory
|
||||
|
||||
# include for local package
|
||||
|
||||
# Creating entries for all C++ files with "main" routine
|
||||
# ##########################################################
|
||||
|
||||
create_single_source_cgal_program("incident_edges.cpp")
|
||||
|
||||
create_single_source_cgal_program("simple_2.cpp")
|
||||
|
||||
create_single_source_cgal_program("simple.cpp")
|
||||
|
||||
create_single_source_cgal_program("Triangulation_benchmark_3.cpp")
|
||||
|
||||
create_single_source_cgal_program( "segment_traverser_benchmark.cpp" )
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ if(POLICY CMP0071)
|
|||
cmake_policy(SET CMP0071 NEW)
|
||||
endif()
|
||||
|
||||
|
||||
# Find CGAL and CGAL Qt5
|
||||
find_package(CGAL REQUIRED OPTIONAL_COMPONENTS Qt5)
|
||||
|
||||
|
|
|
|||
|
|
@ -4,16 +4,8 @@ project( Triangulation_on_sphere_2_Examples )
|
|||
|
||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||
|
||||
if ( CGAL_FOUND )
|
||||
|
||||
create_single_source_cgal_program( "triang_on_sphere.cpp" )
|
||||
create_single_source_cgal_program( "triang_on_sphere_range.cpp" )
|
||||
create_single_source_cgal_program( "triang_on_sphere_exact.cpp" )
|
||||
create_single_source_cgal_program( "triang_on_sphere_proj.cpp" )
|
||||
create_single_source_cgal_program( "triang_on_sphere_geo.cpp" )
|
||||
|
||||
else()
|
||||
|
||||
message(STATUS "This program requires the CGAL library, and will not be compiled.")
|
||||
|
||||
endif()
|
||||
create_single_source_cgal_program( "triang_on_sphere.cpp" )
|
||||
create_single_source_cgal_program( "triang_on_sphere_range.cpp" )
|
||||
create_single_source_cgal_program( "triang_on_sphere_exact.cpp" )
|
||||
create_single_source_cgal_program( "triang_on_sphere_proj.cpp" )
|
||||
create_single_source_cgal_program( "triang_on_sphere_geo.cpp" )
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
# 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.23)
|
||||
|
||||
project(Voronoi_diagram_2_Tests)
|
||||
|
||||
find_package(CGAL REQUIRED)
|
||||
|
|
|
|||
|
|
@ -1,10 +1,7 @@
|
|||
# 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.23)
|
||||
|
||||
project(Weights_Examples)
|
||||
|
||||
cmake_minimum_required(VERSION 3.1...3.23)
|
||||
|
||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||
|
||||
create_single_source_cgal_program("weights.cpp")
|
||||
|
|
|
|||
|
|
@ -1,10 +1,7 @@
|
|||
# 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.23)
|
||||
|
||||
project(Weights_Tests)
|
||||
|
||||
cmake_minimum_required(VERSION 3.1...3.23)
|
||||
|
||||
find_package(CGAL REQUIRED COMPONENTS Core)
|
||||
|
||||
create_single_source_cgal_program("test_uniform_weights.cpp")
|
||||
|
|
|
|||
Loading…
Reference in New Issue