From e580938c7fa368a6d51a07ee1c9d7e50c35fa82e Mon Sep 17 00:00:00 2001 From: Laurent Saboret Date: Wed, 22 Apr 2009 15:04:20 +0000 Subject: [PATCH] Updated Point_set_processing_3 's CMakeLists.txt files --- .../examples/Point_set_processing_3/CMakeLists.txt | 12 +++++------- .../test/Point_set_processing_3/CMakeLists.txt | 12 +++++------- .../Surface_reconstruction_points_3/CMakeLists.txt | 8 ++++---- .../Surface_reconstruction_points_3/CMakeLists.txt | 8 ++++---- 4 files changed, 18 insertions(+), 22 deletions(-) diff --git a/Point_set_processing_3/examples/Point_set_processing_3/CMakeLists.txt b/Point_set_processing_3/examples/Point_set_processing_3/CMakeLists.txt index 81861118d4d..12017aee928 100644 --- a/Point_set_processing_3/examples/Point_set_processing_3/CMakeLists.txt +++ b/Point_set_processing_3/examples/Point_set_processing_3/CMakeLists.txt @@ -1,6 +1,4 @@ -# Created by the script cgal_create_cmake_script -# This is the CMake script for compiling a CGAL application. - +# This is the CMake script for compiling this folder. project( Point_set_processing_3_example ) @@ -10,7 +8,10 @@ set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true) if ( COMMAND cmake_policy ) cmake_policy( SET CMP0003 NEW ) -endif() +endif(COMMAND cmake_policy) + +# Include this package's headers first +include_directories (BEFORE . include ../../include) # Find CGAL find_package(CGAL QUIET COMPONENTS Core ) @@ -41,9 +42,6 @@ if ( CGAL_FOUND ) message( STATUS "USING RELEASE EXEFLAGS = '${CMAKE_EXE_LINKER_FLAGS} ${CMAKE_EXE_LINKER_FLAGS_RELEASE}'" ) endif() - include_directories (BEFORE ../../include) - include_directories (BEFORE include) - # Temporary debugging stuff #ADD_DEFINITIONS( "-DDEBUG_TRACE" ) diff --git a/Point_set_processing_3/test/Point_set_processing_3/CMakeLists.txt b/Point_set_processing_3/test/Point_set_processing_3/CMakeLists.txt index 67c233c1932..3bb5a265c7d 100644 --- a/Point_set_processing_3/test/Point_set_processing_3/CMakeLists.txt +++ b/Point_set_processing_3/test/Point_set_processing_3/CMakeLists.txt @@ -1,6 +1,4 @@ -# Created by the script cgal_create_cmake_script -# This is the CMake script for compiling a CGAL application. - +# This is the CMake script for compiling this folder. project( Point_set_processing_3_test ) @@ -10,7 +8,10 @@ set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true) if ( COMMAND cmake_policy ) cmake_policy( SET CMP0003 NEW ) -endif() +endif(COMMAND cmake_policy) + +# Include this package's headers first +include_directories (BEFORE . include ../../include) # Find CGAL find_package(CGAL QUIET COMPONENTS Core ) @@ -41,9 +42,6 @@ if ( CGAL_FOUND ) message( STATUS "USING RELEASE EXEFLAGS = '${CMAKE_EXE_LINKER_FLAGS} ${CMAKE_EXE_LINKER_FLAGS_RELEASE}'" ) endif() - include_directories (BEFORE ../../include) - include_directories (BEFORE include) - # Executables that do *not* require LAPACK create_single_source_cgal_program( "analysis_test.cpp" ) create_single_source_cgal_program( "remove_outliers_test.cpp" ) diff --git a/Surface_reconstruction_points_3/examples/Surface_reconstruction_points_3/CMakeLists.txt b/Surface_reconstruction_points_3/examples/Surface_reconstruction_points_3/CMakeLists.txt index c3afc728a80..b4df793fc9a 100644 --- a/Surface_reconstruction_points_3/examples/Surface_reconstruction_points_3/CMakeLists.txt +++ b/Surface_reconstruction_points_3/examples/Surface_reconstruction_points_3/CMakeLists.txt @@ -1,13 +1,13 @@ -# This is the CMake script for compiling the Surface_reconstruction_points_3 MFC demo. +# This is the CMake script for compiling this folder. project( Surface_reconstruction_points_3_example ) CMAKE_MINIMUM_REQUIRED(VERSION 2.4.5) -set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true) - +set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true) + if ( COMMAND cmake_policy ) - cmake_policy( SET CMP0003 NEW ) + cmake_policy( SET CMP0003 NEW ) endif(COMMAND cmake_policy) # Require packages new or improved since CGAL 3.4 diff --git a/Surface_reconstruction_points_3/test/Surface_reconstruction_points_3/CMakeLists.txt b/Surface_reconstruction_points_3/test/Surface_reconstruction_points_3/CMakeLists.txt index 4c1be69b6a1..692b6ba2620 100644 --- a/Surface_reconstruction_points_3/test/Surface_reconstruction_points_3/CMakeLists.txt +++ b/Surface_reconstruction_points_3/test/Surface_reconstruction_points_3/CMakeLists.txt @@ -1,13 +1,13 @@ -# This is the CMake script for compiling Surface_reconstruction_points_3 tests. +# This is the CMake script for compiling this folder. project( Surface_reconstruction_points_3_test ) CMAKE_MINIMUM_REQUIRED(VERSION 2.4.5) -set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true) - +set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true) + if ( COMMAND cmake_policy ) - cmake_policy( SET CMP0003 NEW ) + cmake_policy( SET CMP0003 NEW ) endif(COMMAND cmake_policy) # Require packages new or improved since CGAL 3.4