From 994028ec519b90bb5f0b41a5d725205e892822a5 Mon Sep 17 00:00:00 2001 From: Fernando Cacciola Date: Tue, 4 Nov 2008 13:09:48 +0000 Subject: [PATCH] Prefixed CreateSingleSourceCGALProgram.cmake with CGAL_ --- .gitattributes | 2 +- CGALimageIO/examples/CGALimageIO/CMakeLists.txt | 2 +- CGALimageIO/test/CGALimageIO/CMakeLists.txt | 2 +- Circular_kernel_2/test/Circular_kernel_2/CMakeLists.txt | 2 +- Circular_kernel_3/test/Circular_kernel_3/CMakeLists.txt | 2 +- ...ALProgram.cmake => CGAL_CreateSingleSourceCGALProgram.cmake} | 0 Installation/test/Installation/CMakeLists.txt | 2 +- Jet_fitting_3/examples/Jet_fitting_3/CMakeLists.txt | 2 +- Jet_fitting_3/test/Jet_fitting_3/CMakeLists.txt | 2 +- Kernel_23/test/Kernel_23/CMakeLists.txt | 2 +- PDB/demo/PDB/CMakeLists.txt | 2 +- PDB/examples/PDB/CMakeLists.txt | 2 +- PDB/test/PDB/CMakeLists.txt | 2 +- Scripts/scripts/cgal_create_cmake_script | 2 +- Skin_surface_3/examples/Skin_surface_3/CMakeLists.txt | 2 +- .../examples/Surface_mesh_parameterization/CMakeLists.txt | 2 +- .../test/Surface_mesh_parameterization/CMakeLists.txt | 2 +- Surface_mesher/examples/Surface_mesher/CMakeLists.txt | 2 +- 18 files changed, 17 insertions(+), 17 deletions(-) rename Installation/cmake/modules/{CreateSingleSourceCGALProgram.cmake => CGAL_CreateSingleSourceCGALProgram.cmake} (100%) diff --git a/.gitattributes b/.gitattributes index 8bfefe019fc..11b96d86f86 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1664,6 +1664,7 @@ Installation/INSTALL_via_cmake -text Installation/LICENSE.FREE_USE -text Installation/cmake/modules/CGAL_CheckCXXFileRuns.cmake -text Installation/cmake/modules/CGAL_Common.cmake -text +Installation/cmake/modules/CGAL_CreateSingleSourceCGALProgram.cmake -text Installation/cmake/modules/CGAL_FindPackageHandleStandardArgs.cmake -text Installation/cmake/modules/CGAL_GeneratorSpecificSettings.cmake -text Installation/cmake/modules/CGAL_Locate_CGAL_TAUCS.cmake -text @@ -1679,7 +1680,6 @@ Installation/cmake/modules/CGAL_UseBLAS.cmake -text Installation/cmake/modules/CGAL_UseBoostProgramOptions.cmake -text Installation/cmake/modules/CGAL_UseLAPACK.cmake -text Installation/cmake/modules/CGAL_UseTAUCS.cmake -text -Installation/cmake/modules/CreateSingleSourceCGALProgram.cmake -text Installation/cmake/modules/FindBLAS.cmake -text Installation/cmake/modules/FindBoost.cmake -text Installation/cmake/modules/FindCGAL_CORE.cmake -text diff --git a/CGALimageIO/examples/CGALimageIO/CMakeLists.txt b/CGALimageIO/examples/CGALimageIO/CMakeLists.txt index 16194b84834..e26f1345b65 100644 --- a/CGALimageIO/examples/CGALimageIO/CMakeLists.txt +++ b/CGALimageIO/examples/CGALimageIO/CMakeLists.txt @@ -15,7 +15,7 @@ find_package(CGAL QUIET COMPONENTS ImageIO ) include( ${CGAL_USE_FILE} ) -include( CreateSingleSourceCGALProgram ) +include( CGAL_CreateSingleSourceCGALProgram ) if(CGAL_ImageIO_FOUND) create_single_source_cgal_program( "convert_raw_image_to_inr.cpp" ) diff --git a/CGALimageIO/test/CGALimageIO/CMakeLists.txt b/CGALimageIO/test/CGALimageIO/CMakeLists.txt index f92b94ee4f9..67870f6894e 100644 --- a/CGALimageIO/test/CGALimageIO/CMakeLists.txt +++ b/CGALimageIO/test/CGALimageIO/CMakeLists.txt @@ -18,7 +18,7 @@ if ( CGAL_FOUND ) include( ${CGAL_USE_FILE} ) - include( CreateSingleSourceCGALProgram ) + include( CGAL_CreateSingleSourceCGALProgram ) create_single_source_cgal_program( "test_trilinear_interpolation.cpp" ) diff --git a/Circular_kernel_2/test/Circular_kernel_2/CMakeLists.txt b/Circular_kernel_2/test/Circular_kernel_2/CMakeLists.txt index f3a3e0f9c01..e84dc8477a5 100644 --- a/Circular_kernel_2/test/Circular_kernel_2/CMakeLists.txt +++ b/Circular_kernel_2/test/Circular_kernel_2/CMakeLists.txt @@ -18,7 +18,7 @@ if ( CGAL_FOUND ) include( ${CGAL_USE_FILE} ) - include( CreateSingleSourceCGALProgram ) + include( CGAL_CreateSingleSourceCGALProgram ) include_directories (BEFORE include) include_directories (BEFORE ../../include) diff --git a/Circular_kernel_3/test/Circular_kernel_3/CMakeLists.txt b/Circular_kernel_3/test/Circular_kernel_3/CMakeLists.txt index d41be98a49d..686f09165b2 100644 --- a/Circular_kernel_3/test/Circular_kernel_3/CMakeLists.txt +++ b/Circular_kernel_3/test/Circular_kernel_3/CMakeLists.txt @@ -18,7 +18,7 @@ if ( CGAL_FOUND ) include( ${CGAL_USE_FILE} ) - include( CreateSingleSourceCGALProgram ) + include( CGAL_CreateSingleSourceCGALProgram ) include_directories (BEFORE include) include_directories (BEFORE ../../include) diff --git a/Installation/cmake/modules/CreateSingleSourceCGALProgram.cmake b/Installation/cmake/modules/CGAL_CreateSingleSourceCGALProgram.cmake similarity index 100% rename from Installation/cmake/modules/CreateSingleSourceCGALProgram.cmake rename to Installation/cmake/modules/CGAL_CreateSingleSourceCGALProgram.cmake diff --git a/Installation/test/Installation/CMakeLists.txt b/Installation/test/Installation/CMakeLists.txt index 91098eb7017..0b896c6dfe3 100644 --- a/Installation/test/Installation/CMakeLists.txt +++ b/Installation/test/Installation/CMakeLists.txt @@ -37,7 +37,7 @@ if ( CGAL_FOUND ) include( ${CGAL_USE_FILE} ) - include( CreateSingleSourceCGALProgram ) + include( CGAL_CreateSingleSourceCGALProgram ) create_single_source_cgal_program( "endian.cpp" ) diff --git a/Jet_fitting_3/examples/Jet_fitting_3/CMakeLists.txt b/Jet_fitting_3/examples/Jet_fitting_3/CMakeLists.txt index 48e7969a1b2..469d955e346 100644 --- a/Jet_fitting_3/examples/Jet_fitting_3/CMakeLists.txt +++ b/Jet_fitting_3/examples/Jet_fitting_3/CMakeLists.txt @@ -18,7 +18,7 @@ if ( CGAL_FOUND ) include( ${CGAL_USE_FILE} ) - include( CreateSingleSourceCGALProgram ) + include( CGAL_CreateSingleSourceCGALProgram ) # Link with BLAS and LAPACK (required) include( CGAL_UseLAPACK ) diff --git a/Jet_fitting_3/test/Jet_fitting_3/CMakeLists.txt b/Jet_fitting_3/test/Jet_fitting_3/CMakeLists.txt index 8cd1cc0d77a..f3effabcdb5 100644 --- a/Jet_fitting_3/test/Jet_fitting_3/CMakeLists.txt +++ b/Jet_fitting_3/test/Jet_fitting_3/CMakeLists.txt @@ -18,7 +18,7 @@ if ( CGAL_FOUND ) include( ${CGAL_USE_FILE} ) - include( CreateSingleSourceCGALProgram ) + include( CGAL_CreateSingleSourceCGALProgram ) # Link with BLAS and LAPACK (required) include( CGAL_UseLAPACK ) diff --git a/Kernel_23/test/Kernel_23/CMakeLists.txt b/Kernel_23/test/Kernel_23/CMakeLists.txt index 9383973335c..89277c24f38 100644 --- a/Kernel_23/test/Kernel_23/CMakeLists.txt +++ b/Kernel_23/test/Kernel_23/CMakeLists.txt @@ -14,7 +14,7 @@ find_package(CGAL) if ( CGAL_FOUND ) include(${CGAL_USE_FILE}) - include(CreateSingleSourceCGALProgram) + include(CGAL_CreateSingleSourceCGALProgram) include_directories (BEFORE include) diff --git a/PDB/demo/PDB/CMakeLists.txt b/PDB/demo/PDB/CMakeLists.txt index cb17f036fb0..7243c6e7f43 100644 --- a/PDB/demo/PDB/CMakeLists.txt +++ b/PDB/demo/PDB/CMakeLists.txt @@ -21,7 +21,7 @@ if ( NOT CGAL_AUTO_LINK_ENABLED ) link_libraries(${Boost_PROGRAM_OPTIONS_LIBRARY}) endif () -include(CreateSingleSourceCGALProgram) +include(CGAL_CreateSingleSourceCGALProgram) create_single_source_cgal_program( pdb_cat.cpp ) create_single_source_cgal_program( pdb_echo.cpp ) diff --git a/PDB/examples/PDB/CMakeLists.txt b/PDB/examples/PDB/CMakeLists.txt index ea050927064..f0aeaf7163f 100644 --- a/PDB/examples/PDB/CMakeLists.txt +++ b/PDB/examples/PDB/CMakeLists.txt @@ -15,7 +15,7 @@ include( ${CGAL_USE_FILE} ) if(CGAL_PDB_FOUND) - include( CreateSingleSourceCGALProgram ) + include( CGAL_CreateSingleSourceCGALProgram ) create_single_source_cgal_program( "extracting_geometry.cpp" ) diff --git a/PDB/test/PDB/CMakeLists.txt b/PDB/test/PDB/CMakeLists.txt index bd94cd1076b..958992630c7 100644 --- a/PDB/test/PDB/CMakeLists.txt +++ b/PDB/test/PDB/CMakeLists.txt @@ -17,7 +17,7 @@ INCLUDE_DIRECTORIES ( BEFORE ./include ) if (CGAL_PDB_FOUND ) -include(CreateSingleSourceCGALProgram) +include(CGAL_CreateSingleSourceCGALProgram) create_single_source_cgal_program( check_bonds.cpp ) create_single_source_cgal_program( check_heatom.cpp ) diff --git a/Scripts/scripts/cgal_create_cmake_script b/Scripts/scripts/cgal_create_cmake_script index 4514b48435f..7464d9904b5 100755 --- a/Scripts/scripts/cgal_create_cmake_script +++ b/Scripts/scripts/cgal_create_cmake_script @@ -120,7 +120,7 @@ if ( CGAL_FOUND ) include( ${CGAL_USE_FILE} ) - include( CreateSingleSourceCGALProgram ) + include( CGAL_CreateSingleSourceCGALProgram ) EOF if [ -d include ] ; then diff --git a/Skin_surface_3/examples/Skin_surface_3/CMakeLists.txt b/Skin_surface_3/examples/Skin_surface_3/CMakeLists.txt index ee7cc251c7e..bde97e3ed1c 100644 --- a/Skin_surface_3/examples/Skin_surface_3/CMakeLists.txt +++ b/Skin_surface_3/examples/Skin_surface_3/CMakeLists.txt @@ -16,7 +16,7 @@ include( ${CGAL_USE_FILE} ) if(CGAL_PDB_FOUND) - include( CreateSingleSourceCGALProgram ) + include( CGAL_CreateSingleSourceCGALProgram ) include_directories (BEFORE include) diff --git a/Surface_mesh_parameterization/examples/Surface_mesh_parameterization/CMakeLists.txt b/Surface_mesh_parameterization/examples/Surface_mesh_parameterization/CMakeLists.txt index b573299d46c..0bb66a94960 100644 --- a/Surface_mesh_parameterization/examples/Surface_mesh_parameterization/CMakeLists.txt +++ b/Surface_mesh_parameterization/examples/Surface_mesh_parameterization/CMakeLists.txt @@ -34,7 +34,7 @@ if ( CGAL_FOUND ) include( ${CGAL_USE_FILE} ) - include( CreateSingleSourceCGALProgram ) + include( CGAL_CreateSingleSourceCGALProgram ) # Link with BLAS, LAPACK and TAUCS (optional) include( CGAL_UseTAUCS ) diff --git a/Surface_mesh_parameterization/test/Surface_mesh_parameterization/CMakeLists.txt b/Surface_mesh_parameterization/test/Surface_mesh_parameterization/CMakeLists.txt index 23d66d1d4de..6cba6bdc51e 100644 --- a/Surface_mesh_parameterization/test/Surface_mesh_parameterization/CMakeLists.txt +++ b/Surface_mesh_parameterization/test/Surface_mesh_parameterization/CMakeLists.txt @@ -34,7 +34,7 @@ if ( CGAL_FOUND ) include( ${CGAL_USE_FILE} ) - include( CreateSingleSourceCGALProgram ) + include( CGAL_CreateSingleSourceCGALProgram ) # Link with BLAS, LAPACK and TAUCS (optional) include( CGAL_UseTAUCS ) diff --git a/Surface_mesher/examples/Surface_mesher/CMakeLists.txt b/Surface_mesher/examples/Surface_mesher/CMakeLists.txt index c7f816ea7b1..db2c90314ae 100644 --- a/Surface_mesher/examples/Surface_mesher/CMakeLists.txt +++ b/Surface_mesher/examples/Surface_mesher/CMakeLists.txt @@ -17,7 +17,7 @@ if ( CGAL_FOUND AND CGAL_ImageIO_FOUND ) include( ${CGAL_USE_FILE} ) - include( CreateSingleSourceCGALProgram ) + include( CGAL_CreateSingleSourceCGALProgram ) create_single_source_cgal_program( "mesh_a_3d_gray_image.cpp" ) create_single_source_cgal_program( "mesh_an_implicit_function.cpp" )