turn off deprecated warnings/errors

This commit is contained in:
Dmitry Anisimov 2021-06-29 13:48:12 +02:00
parent 516a5853b2
commit bcc003f2cf
8 changed files with 8 additions and 1 deletions

View File

@ -20,7 +20,7 @@ if(CGAL_FOUND)
create_single_source_cgal_program("terrain_height_modeling.cpp") create_single_source_cgal_program("terrain_height_modeling.cpp")
# this code is deprecated: # this code is deprecated:
# create_single_source_cgal_program("deprecated_coordinates.cpp") create_single_source_cgal_program("deprecated_coordinates.cpp")
find_package(Eigen3 REQUIRED) find_package(Eigen3 REQUIRED)
include(CGAL_Eigen3_support) include(CGAL_Eigen3_support)

View File

@ -1,3 +1,4 @@
#include <CGAL/internal/disable_deprecation_warnings_and_errors.h>
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h> #include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Barycentric_coordinates_2/Generalized_barycentric_coordinates_2.h> #include <CGAL/Barycentric_coordinates_2/Generalized_barycentric_coordinates_2.h>
#include <CGAL/Barycentric_coordinates_2/Mean_value_2.h> #include <CGAL/Barycentric_coordinates_2/Mean_value_2.h>

View File

@ -40,6 +40,7 @@ if(CGAL_FOUND)
create_single_source_cgal_program("test_dh_triangle.cpp") create_single_source_cgal_program("test_dh_triangle.cpp")
create_single_source_cgal_program("test_dh_weights.cpp") create_single_source_cgal_program("test_dh_weights.cpp")
# this code is deprecated:
create_single_source_cgal_program("test_sc_deprecated_api.cpp") create_single_source_cgal_program("test_sc_deprecated_api.cpp")
create_single_source_cgal_program("test_tc_deprecated_api.cpp") create_single_source_cgal_program("test_tc_deprecated_api.cpp")
create_single_source_cgal_program("test_wp_deprecated_api.cpp") create_single_source_cgal_program("test_wp_deprecated_api.cpp")

View File

@ -1,5 +1,6 @@
#include <cmath> #include <cmath>
#include <cassert> #include <cassert>
#include <CGAL/internal/disable_deprecation_warnings_and_errors.h>
#include <CGAL/Exact_predicates_exact_constructions_kernel.h> #include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Barycentric_coordinates_2/triangle_coordinates_2.h> #include <CGAL/Barycentric_coordinates_2/triangle_coordinates_2.h>
#include <CGAL/Barycentric_coordinates_2/Discrete_harmonic_2.h> #include <CGAL/Barycentric_coordinates_2/Discrete_harmonic_2.h>

View File

@ -1,5 +1,6 @@
#include <cmath> #include <cmath>
#include <cassert> #include <cassert>
#include <CGAL/internal/disable_deprecation_warnings_and_errors.h>
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h> #include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Barycentric_coordinates_2/triangle_coordinates_2.h> #include <CGAL/Barycentric_coordinates_2/triangle_coordinates_2.h>
#include <CGAL/Barycentric_coordinates_2/Mean_value_2.h> #include <CGAL/Barycentric_coordinates_2/Mean_value_2.h>

View File

@ -1,5 +1,6 @@
#include <cmath> #include <cmath>
#include <cassert> #include <cassert>
#include <CGAL/internal/disable_deprecation_warnings_and_errors.h>
#include <CGAL/Exact_predicates_exact_constructions_kernel.h> #include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Barycentric_coordinates_2/segment_coordinates_2.h> #include <CGAL/Barycentric_coordinates_2/segment_coordinates_2.h>

View File

@ -1,5 +1,6 @@
#include <cmath> #include <cmath>
#include <cassert> #include <cassert>
#include <CGAL/internal/disable_deprecation_warnings_and_errors.h>
#include <CGAL/Exact_predicates_exact_constructions_kernel.h> #include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Barycentric_coordinates_2/triangle_coordinates_2.h> #include <CGAL/Barycentric_coordinates_2/triangle_coordinates_2.h>

View File

@ -1,5 +1,6 @@
#include <cmath> #include <cmath>
#include <cassert> #include <cassert>
#include <CGAL/internal/disable_deprecation_warnings_and_errors.h>
#include <CGAL/Exact_predicates_exact_constructions_kernel.h> #include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Barycentric_coordinates_2/Wachspress_2.h> #include <CGAL/Barycentric_coordinates_2/Wachspress_2.h>
#include <CGAL/Barycentric_coordinates_2/triangle_coordinates_2.h> #include <CGAL/Barycentric_coordinates_2/triangle_coordinates_2.h>