Skip to content

Commit

Permalink
Merge pull request CGAL#1438 from sloriot/CGAL-clean_up_projects_name…
Browse files Browse the repository at this point in the history
…_cmake

Clean up projects name in cmake scripts
  • Loading branch information
lrineau committed Oct 5, 2016
2 parents e28eab0 + 1b9fb0b commit 9a0bb54
Show file tree
Hide file tree
Showing 254 changed files with 645 additions and 238 deletions.
2 changes: 1 addition & 1 deletion AABB_tree/demo/AABB_tree/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This is the CMake script for compiling the AABB tree demo.

project( AABB_demo )
project( AABB_tree_Demo )

# Find includes in corresponding build directories
set(CMAKE_INCLUDE_CURRENT_DIR ON)
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,7 +2,7 @@
# This is the CMake script for compiling a CGAL application.


project( AABB_tree_ )
project( AABB_tree_Examples )

cmake_minimum_required(VERSION 2.8.10)

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,7 +2,7 @@
# This is the CMake script for compiling a CGAL application.


project( AABB_tree_ )
project( AABB_tree_Tests )

cmake_minimum_required(VERSION 2.8.10)

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


project( Advancing_front_surface_reconstruction_ )
project( Advancing_front_surface_reconstruction_Examples )

cmake_minimum_required(VERSION 2.8.10)

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


project( Advancing_front_surface_reconstruction_ )
project( Advancing_front_surface_reconstruction_Tests )

cmake_minimum_required(VERSION 2.8.10)

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


project( Algebraic_foundations_ )
project( Algebraic_foundations_Examples )

cmake_minimum_required(VERSION 2.8.10)

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


project( Algebraic_foundations_ )
project( Algebraic_foundations_Tests )

cmake_minimum_required(VERSION 2.8.10)

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


project( Algebraic_kernel_d_test )
project( Algebraic_kernel_d_Examples )

cmake_minimum_required(VERSION 2.8.11)

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,7 +1,7 @@
# Created by the script cgal_create_CMakeLists
# This is the CMake script for compiling a set of CGAL applications.

project( Algebraic_kernel_d_test )
project( Algebraic_kernel_d_Tests )

cmake_minimum_required(VERSION 2.8.11)

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


project( Algebraic_kernel_for_circles_ )
project( Algebraic_kernel_for_circles_Tests )

cmake_minimum_required(VERSION 2.8.10)

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


project( Algebraic_kernel_for_spheres_ )
project( Algebraic_kernel_for_spheres_Tests )

cmake_minimum_required(VERSION 2.8.10)

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,7 +2,7 @@
# This is the CMake script for compiling a CGAL application.


project( Alpha_shapes_2_ )
project( Alpha_shapes_2_Examples )

cmake_minimum_required(VERSION 2.8.10)

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,7 +2,7 @@
# This is the CMake script for compiling a CGAL application.


project( Alpha_shapes_2_ )
project( Alpha_shapes_2_Tests )

cmake_minimum_required(VERSION 2.8.10)

Expand Down
3 changes: 2 additions & 1 deletion Alpha_shapes_3/demo/Alpha_shapes_3/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Created by the script cgal_create_cmake_script
# This is the CMake script for compiling a CGAL application.

project (Alpha_shape_3)
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.
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,7 +2,7 @@
# This is the CMake script for compiling a CGAL application.


project( Alpha_shapes_3_ )
project( Alpha_shapes_3_Examples )

cmake_minimum_required(VERSION 2.8.10)

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,7 +2,7 @@
# This is the CMake script for compiling a CGAL application.


project( Alpha_shapes_3_ )
project( Alpha_shapes_3_Tests )

cmake_minimum_required(VERSION 2.8.10)

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


project( Apollonius_graph_2_ )
project( Apollonius_graph_2_Examples )

cmake_minimum_required(VERSION 2.8.10)

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,7 +2,7 @@
# This is the CMake script for compiling a CGAL application.


project( Apollonius_graph_2_ )
project( Apollonius_graph_2_Tests )

cmake_minimum_required(VERSION 2.8.10)

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,7 +2,7 @@
# This is the CMake script for compiling a CGAL application.


project( Arithmetic_kernel_test )
project( Arithmetic_kernel_Tests )

cmake_minimum_required(VERSION 2.8.11)

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

project( Arrangement_2 )
project( Arrangement_on_surface_2_Demo )

cmake_minimum_required(VERSION 2.8.11)
if(POLICY CMP0043)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This is the CMake script for compiling a CGAL application.


project( Arrangement_on_surface_2_ )
project( Arrangement_on_surface_2_Examples )

cmake_minimum_required(VERSION 2.8.10)

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


project( Arrangement_on_surface_2_ )
project( Arrangement_on_surface_2_Tests )

enable_testing()

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,7 +1,7 @@
# Created by the script cgal_create_CMakeLists
# This is the CMake script for compiling a set of CGAL applications.

project( BGL_OpenMesh )
project( BGL_OpenMesh_Examples )


cmake_minimum_required(VERSION 2.8.11)
Expand Down
26 changes: 26 additions & 0 deletions BGL/examples/BGL_arrangement_2/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
project( BGL_arrangement_2_Examples )

cmake_minimum_required(VERSION 2.8.10)

find_package(CGAL QUIET)

if ( CGAL_FOUND )

include( ${CGAL_USE_FILE} )

include( CGAL_CreateSingleSourceCGALProgram )

include_directories (BEFORE "../../include")

# create a target per cppfile
file(GLOB cppfiles RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
foreach(cppfile ${cppfiles})
create_single_source_cgal_program( "${cppfile}" )
endforeach()

else()

message(STATUS "This program requires the CGAL library, and will not be compiled.")

endif()

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

project( BGL_polyhedron_3 )
project( BGL_polyhedron_3_Examples )


cmake_minimum_required(VERSION 2.8.11)
Expand Down
26 changes: 26 additions & 0 deletions BGL/examples/BGL_surface_mesh/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
project( BGL_surface_mesh_Examples )

cmake_minimum_required(VERSION 2.8.10)

find_package(CGAL QUIET)

if ( CGAL_FOUND )

include( ${CGAL_USE_FILE} )

include( CGAL_CreateSingleSourceCGALProgram )

include_directories (BEFORE "../../include")

# create a target per cppfile
file(GLOB cppfiles RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
foreach(cppfile ${cppfiles})
create_single_source_cgal_program( "${cppfile}" )
endforeach()

else()

message(STATUS "This program requires the CGAL library, and will not be compiled.")

endif()

27 changes: 27 additions & 0 deletions BGL/examples/BGL_triangulation_2/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
project( BGL_triangulation_2_Examples )

cmake_minimum_required(VERSION 2.8.10)

find_package(CGAL QUIET)

if ( CGAL_FOUND )

include( ${CGAL_USE_FILE} )

include( CGAL_CreateSingleSourceCGALProgram )

include_directories (BEFORE "../../include")

# create a target per cppfile
file(GLOB cppfiles RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
foreach(cppfile ${cppfiles})
create_single_source_cgal_program( "${cppfile}" )
endforeach()


else()

message(STATUS "This program requires the CGAL library, and will not be compiled.")

endif()

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

project( BGL )
project( BGL_Tests )


cmake_minimum_required(VERSION 2.8.11)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This is the CMake script for compiling a CGAL application.


project( Barycentric_coordinates_2_ )
project( Barycentric_coordinates_2_Examples )

cmake_minimum_required(VERSION 2.8.10)

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


project( Barycentric_coordinates_2_ )
project( Barycentric_coordinates_2_Tests )

cmake_minimum_required(VERSION 2.8.10)

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

project( Boolean_operations_2_demo )
project( Boolean_set_operations_2_GraphicsView_Demo )

cmake_minimum_required(VERSION 2.8.11)
if(POLICY CMP0043)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This is the CMake script for compiling a CGAL application.


project( Boolean_set_operations_2_ )
project( Boolean_set_operations_2_Examples )

cmake_minimum_required(VERSION 2.8.10)

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


project( Boolean_set_operations_2_ )
project( Boolean_set_operations_2_Tests )

cmake_minimum_required(VERSION 2.8.10)

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
project( Approximate_min_ellipsoid_d_Examples )

cmake_minimum_required(VERSION 2.8.10)

find_package(CGAL QUIET)

if ( CGAL_FOUND )

include( ${CGAL_USE_FILE} )

include( CGAL_CreateSingleSourceCGALProgram )

include_directories (BEFORE "../../include")

# create a target per cppfile
file(GLOB cppfiles RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
foreach(cppfile ${cppfiles})
create_single_source_cgal_program( "${cppfile}" )
endforeach()

else()

message(STATUS "This program requires the CGAL library, and will not be compiled.")

endif()

Loading

0 comments on commit 9a0bb54

Please sign in to comment.