Updated Point_set_processing_3 's CMakeLists.txt files

This commit is contained in:
Laurent Saboret 2009-04-22 15:04:20 +00:00
parent 17dea5f329
commit e580938c7f
4 changed files with 18 additions and 22 deletions

View File

@ -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" )

View File

@ -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" )

View File

@ -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

View File

@ -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