Skip to content

Commit

Permalink
CMake>=3.13: opt for for new policies up to 3.15
Browse files Browse the repository at this point in the history
  • Loading branch information
lrineau committed Jun 19, 2019
1 parent f0682d3 commit 4fbf00f
Show file tree
Hide file tree
Showing 309 changed files with 309 additions and 404 deletions.
12 changes: 1 addition & 11 deletions AABB_tree/benchmark/AABB_tree/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
# Created by the script cgal_create_CMakeLists
# This is the CMake script for compiling a set of CGAL applications.

cmake_minimum_required(VERSION 3.1...3.15)
project( AABB_traits_benchmark)


cmake_minimum_required(VERSION 3.1)
cmake_policy(VERSION 3.1)


if ( COMMAND cmake_policy )

cmake_policy( SET CMP0003 NEW )

endif()

# CGAL and its components
find_package( CGAL QUIET)
if ( CGAL_FOUND )
Expand Down
2 changes: 1 addition & 1 deletion AABB_tree/demo/AABB_tree/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# This is the CMake script for compiling the AABB tree demo.

cmake_minimum_required(VERSION 3.1...3.15)
project( AABB_tree_Demo )

# Find includes in corresponding build directories
set(CMAKE_INCLUDE_CURRENT_DIR ON)
# Instruct CMake to run moc automatically when needed.
set(CMAKE_AUTOMOC ON)
cmake_minimum_required(VERSION 3.1)
if(NOT POLICY CMP0070 AND POLICY CMP0053)
# Only set CMP0053 to OLD with CMake<3.10, otherwise there is a warning.
cmake_policy(SET CMP0053 OLD)
Expand Down
2 changes: 1 addition & 1 deletion AABB_tree/examples/AABB_tree/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# This is the CMake script for compiling a CGAL application.


cmake_minimum_required(VERSION 3.1...3.15)
project( AABB_tree_Examples )

cmake_minimum_required(VERSION 3.1)

find_package(CGAL QUIET)

Expand Down
2 changes: 1 addition & 1 deletion AABB_tree/test/AABB_tree/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# This is the CMake script for compiling a CGAL application.


cmake_minimum_required(VERSION 3.1...3.15)
project( AABB_tree_Tests )

cmake_minimum_required(VERSION 3.1)

find_package(CGAL QUIET)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# This is the CMake script for compiling a CGAL application.


cmake_minimum_required(VERSION 3.1...3.15)
project( Advancing_front_surface_reconstruction_Examples )

cmake_minimum_required(VERSION 3.1)

find_package(CGAL QUIET)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# This is the CMake script for compiling a CGAL application.


cmake_minimum_required(VERSION 3.1...3.15)
project( Advancing_front_surface_reconstruction_Tests )

cmake_minimum_required(VERSION 3.1)

find_package(CGAL QUIET)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# This is the CMake script for compiling a CGAL application.


cmake_minimum_required(VERSION 3.1...3.15)
project( Algebraic_foundations_Examples )

cmake_minimum_required(VERSION 3.1)

find_package(CGAL QUIET)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# This is the CMake script for compiling a CGAL application.


cmake_minimum_required(VERSION 3.1...3.15)
project( Algebraic_foundations_Tests )

cmake_minimum_required(VERSION 3.1)

find_package(CGAL QUIET COMPONENTS Core)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.1...3.15)
project( Algebraic_kernel_d_Examples )

cmake_minimum_required(VERSION 3.1)


find_package(CGAL QUIET COMPONENTS Core)
Expand Down
2 changes: 1 addition & 1 deletion Algebraic_kernel_d/test/Algebraic_kernel_d/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.1...3.15)
project( Algebraic_kernel_d_Tests )

cmake_minimum_required(VERSION 3.1)


# CGAL and its components
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# This is the CMake script for compiling a CGAL application.


cmake_minimum_required(VERSION 3.1...3.15)
project( Algebraic_kernel_for_circles_Tests )

cmake_minimum_required(VERSION 3.1)

find_package(CGAL QUIET)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# This is the CMake script for compiling a CGAL application.


cmake_minimum_required(VERSION 3.1...3.15)
project( Algebraic_kernel_for_spheres_Tests )

cmake_minimum_required(VERSION 3.1)

find_package(CGAL QUIET)

Expand Down
2 changes: 1 addition & 1 deletion Alpha_shapes_2/examples/Alpha_shapes_2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# This is the CMake script for compiling a CGAL application.


cmake_minimum_required(VERSION 3.1...3.15)
project( Alpha_shapes_2_Examples )

cmake_minimum_required(VERSION 3.1)

find_package(CGAL QUIET)

Expand Down
2 changes: 1 addition & 1 deletion Alpha_shapes_2/test/Alpha_shapes_2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# This is the CMake script for compiling a CGAL application.


cmake_minimum_required(VERSION 3.1...3.15)
project( Alpha_shapes_2_Tests )

cmake_minimum_required(VERSION 3.1)

find_package(CGAL QUIET)

Expand Down
2 changes: 1 addition & 1 deletion Alpha_shapes_3/demo/Alpha_shapes_3/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# 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 (Alpha_shapes_3_Demo)

# Find includes in corresponding build directories
set(CMAKE_INCLUDE_CURRENT_DIR ON)
# Instruct CMake to run moc automatically when needed.
set(CMAKE_AUTOMOC ON)
cmake_minimum_required(VERSION 3.1)
if(NOT POLICY CMP0070 AND POLICY CMP0053)
# Only set CMP0053 to OLD with CMake<3.10, otherwise there is a warning.
cmake_policy(SET CMP0053 OLD)
Expand Down
2 changes: 1 addition & 1 deletion Alpha_shapes_3/examples/Alpha_shapes_3/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# This is the CMake script for compiling a CGAL application.


cmake_minimum_required(VERSION 3.1...3.15)
project( Alpha_shapes_3_Examples )

cmake_minimum_required(VERSION 3.1)

find_package(CGAL QUIET)

Expand Down
2 changes: 1 addition & 1 deletion Alpha_shapes_3/test/Alpha_shapes_3/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# This is the CMake script for compiling a CGAL application.


cmake_minimum_required(VERSION 3.1...3.15)
project( Alpha_shapes_3_Tests )

cmake_minimum_required(VERSION 3.1)

find_package(CGAL QUIET)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# This is the CMake script for compiling a CGAL application.


cmake_minimum_required(VERSION 3.1...3.15)
project( Apollonius_graph_2_Examples )

cmake_minimum_required(VERSION 3.1)

find_package(CGAL QUIET COMPONENTS Core )

Expand Down
2 changes: 1 addition & 1 deletion Apollonius_graph_2/test/Apollonius_graph_2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# This is the CMake script for compiling a CGAL application.


cmake_minimum_required(VERSION 3.1...3.15)
project( Apollonius_graph_2_Tests )

cmake_minimum_required(VERSION 3.1)

find_package(CGAL QUIET)

Expand Down
2 changes: 1 addition & 1 deletion Arithmetic_kernel/test/Arithmetic_kernel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# This is the CMake script for compiling a CGAL application.


cmake_minimum_required(VERSION 3.1...3.15)
project( Arithmetic_kernel_Tests )

cmake_minimum_required(VERSION 3.1)



Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# This is the CMake script for compiling a CGAL application.

cmake_minimum_required(VERSION 3.1...3.15)
project( Arrangement_on_surface_2_Demo )

cmake_minimum_required(VERSION 3.1)
if(NOT POLICY CMP0070 AND POLICY CMP0053)
# Only set CMP0053 to OLD with CMake<3.10, otherwise there is a warning.
cmake_policy(SET CMP0053 OLD)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# This is the CMake script for compiling a CGAL application.


cmake_minimum_required(VERSION 3.1...3.15)
project( Arrangement_on_surface_2_Examples )

cmake_minimum_required(VERSION 3.1)

find_package(CGAL QUIET COMPONENTS Core)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
# This is the CMake script for compiling a CGAL application.


cmake_minimum_required(VERSION 3.1...3.15)
project( Arrangement_on_surface_2_Tests )

enable_testing()

cmake_minimum_required(VERSION 3.1)

find_package(CGAL QUIET COMPONENTS Core)

Expand Down
2 changes: 1 addition & 1 deletion BGL/examples/BGL_LCC/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Created by the script cgal_create_CMakeLists
# This is the CMake script for compiling a set of CGAL applications.

cmake_minimum_required(VERSION 3.1...3.15)
project( BGL_LCC_Examples )


cmake_minimum_required(VERSION 3.1)

# CGAL and its components
find_package( CGAL QUIET COMPONENTS )
Expand Down
2 changes: 1 addition & 1 deletion BGL/examples/BGL_OpenMesh/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Created by the script cgal_create_CMakeLists
# This is the CMake script for compiling a set of CGAL applications.

cmake_minimum_required(VERSION 3.1...3.15)
project( BGL_OpenMesh_Examples )


cmake_minimum_required(VERSION 3.1)

# CGAL and its components
find_package( CGAL QUIET COMPONENTS )
Expand Down
2 changes: 1 addition & 1 deletion BGL/examples/BGL_arrangement_2/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.1...3.15)
project( BGL_arrangement_2_Examples )

cmake_minimum_required(VERSION 3.1)

find_package(CGAL QUIET)

Expand Down
2 changes: 1 addition & 1 deletion BGL/examples/BGL_polyhedron_3/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Created by the script cgal_create_CMakeLists
# This is the CMake script for compiling a set of CGAL applications.

cmake_minimum_required(VERSION 3.1...3.15)
project( BGL_polyhedron_3_Examples )


cmake_minimum_required(VERSION 3.1)

# CGAL and its components
find_package( CGAL QUIET COMPONENTS )
Expand Down
2 changes: 1 addition & 1 deletion BGL/examples/BGL_surface_mesh/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.1...3.15)
project( BGL_surface_mesh_Examples )

cmake_minimum_required(VERSION 3.1)

find_package( CGAL QUIET )

Expand Down
2 changes: 1 addition & 1 deletion BGL/examples/BGL_triangulation_2/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.1...3.15)
project( BGL_triangulation_2_Examples )

cmake_minimum_required(VERSION 3.1)

find_package(CGAL QUIET)

Expand Down
2 changes: 1 addition & 1 deletion BGL/test/BGL/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Created by the script cgal_create_cmake_script_with_options
# This is the CMake script for compiling a set of CGAL applications.

cmake_minimum_required(VERSION 3.1...3.15)
project( BGL_Tests )


cmake_minimum_required(VERSION 3.1)



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# This is the CMake script for compiling a CGAL application.


cmake_minimum_required(VERSION 3.1...3.15)
project( Barycentric_coordinates_2_Examples )

cmake_minimum_required(VERSION 3.1)

find_package(CGAL QUIET)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# This is the CMake script for compiling a CGAL application.


cmake_minimum_required(VERSION 3.1...3.15)
project( Barycentric_coordinates_2_Tests )

cmake_minimum_required(VERSION 3.1)

find_package(CGAL QUIET)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# 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( Boolean_set_operations_2_GraphicsView_Demo )

cmake_minimum_required(VERSION 3.1)
if(NOT POLICY CMP0070 AND POLICY CMP0053)
# Only set CMP0053 to OLD with CMake<3.10, otherwise there is a warning.
cmake_policy(SET CMP0053 OLD)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# This is the CMake script for compiling a CGAL application.


cmake_minimum_required(VERSION 3.1...3.15)
project( Boolean_set_operations_2_Examples )

cmake_minimum_required(VERSION 3.1)

find_package(CGAL QUIET COMPONENTS Core)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# This is the CMake script for compiling a CGAL application.


cmake_minimum_required(VERSION 3.1...3.15)
project( Boolean_set_operations_2_Tests )

cmake_minimum_required(VERSION 3.1)

find_package(CGAL QUIET)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.1...3.15)
project( Approximate_min_ellipsoid_d_Examples )

cmake_minimum_required(VERSION 3.1)

find_package(CGAL QUIET)

Expand Down
Loading

0 comments on commit 4fbf00f

Please sign in to comment.