Prefixed CGAL cmake modules with CGAL_

This commit is contained in:
Fernando Cacciola 2008-11-04 12:49:32 +00:00
parent 70fa9503fd
commit 145ee41079
18 changed files with 20 additions and 33 deletions

10
.gitattributes vendored
View File

@ -1663,9 +1663,14 @@ Installation/CGALConfig_install.cmake.source.in -text
Installation/INSTALL_via_cmake -text
Installation/LICENSE.FREE_USE -text
Installation/cmake/modules/AddSubdirectories.cmake -text
Installation/cmake/modules/CGAL_CheckCXXFileRuns.cmake -text
Installation/cmake/modules/CGAL_Common.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
Installation/cmake/modules/CGAL_Macros.cmake -text
Installation/cmake/modules/CGAL_SetupBoost.cmake -text
Installation/cmake/modules/CGAL_SetupDependencies.cmake -text
Installation/cmake/modules/CGAL_SetupFlags.cmake -text
Installation/cmake/modules/CGAL_SetupGMP.cmake -text
Installation/cmake/modules/CGAL_SetupGMPXX.cmake -text
@ -1675,14 +1680,11 @@ 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/CGALcommon.cmake -text
Installation/cmake/modules/CheckCXXFileRuns.cmake -text
Installation/cmake/modules/CreateSingleSourceCGALProgram.cmake -text
Installation/cmake/modules/CreateSingleSourceCGALQt3Program.cmake -text
Installation/cmake/modules/CreateSingleSourceCGALQt4Program.cmake -text
Installation/cmake/modules/FindBLAS.cmake -text
Installation/cmake/modules/FindBoost.cmake -text
Installation/cmake/modules/FindCGALDependencies.cmake -text
Installation/cmake/modules/FindCGAL_CORE.cmake -text
Installation/cmake/modules/FindCORE.cmake -text
Installation/cmake/modules/FindF2C.cmake -text
@ -1692,11 +1694,9 @@ Installation/cmake/modules/FindLAPACK.cmake -text
Installation/cmake/modules/FindLEDA.cmake -text
Installation/cmake/modules/FindMPFR.cmake -text
Installation/cmake/modules/FindOpenGL.cmake -text
Installation/cmake/modules/FindPackageHandleStandardArgs.cmake -text
Installation/cmake/modules/FindQGLViewer.cmake -text
Installation/cmake/modules/FindQt3-patched.cmake -text
Installation/cmake/modules/FindTAUCS.cmake -text
Installation/cmake/modules/GeneratorSpecificSettings.cmake -text
Installation/cmake/modules/MacroFindOptionalCGALDependency.cmake -text
Installation/cmake/modules/MacroOptionalFindPackage.cmake -text
Installation/cmake/modules/OptionalAddSubdirectory.cmake -text

View File

@ -39,9 +39,9 @@ if ( NOT "${CGAL_REFERENCE_CACHE_DIR}" STREQUAL "" )
endif()
endif()
include(CGALcommon)
include(GeneratorSpecificSettings)
include(CheckCXXFileRuns)
include(CGAL_Common)
include(CGAL_GeneratorSpecificSettings)
include(CGAL_CheckCXXFileRuns)
mark_as_advanced(CMAKE_BACKWARDS_COMPATIBILITY)
@ -178,7 +178,7 @@ cache_set(CGAL_PDB_3RD_PARTY_INCLUDE_DIRS "" )
cache_set(CGAL_PDB_3RD_PARTY_LIBRARIES "" )
cache_set(CGAL_PDB_3RD_PARTY_LIBRARIES_DIRS "" )
include(FindCGALDependencies)
include(CGAL_SetupDependencies)
#--------------------------------------------------------------------------------------------------
#

View File

@ -29,7 +29,7 @@
include(CheckFunctionExists)
include(GeneratorSpecificSettings)
include(CGAL_GeneratorSpecificSettings)
# This macro checks for the existence of the combination of fortran libraries

View File

@ -7,7 +7,7 @@
# CORE needs GMP
include(FindPackageHandleStandardArgs)
include(CGAL_FindPackageHandleStandardArgs)
if(GMP_FOUND)

View File

@ -6,7 +6,7 @@
# TODO: support Windows and MacOSX
# CORE needs GMP
include(FindPackageHandleStandardArgs)
include(CGAL_FindPackageHandleStandardArgs)
if(GMP_FOUND)
if (CORE_INCLUDE_DIR AND CORE_LIBRARIES)

View File

@ -7,8 +7,8 @@
# TODO: support MacOSX
include(FindPackageHandleStandardArgs)
include(GeneratorSpecificSettings)
include(CGAL_FindPackageHandleStandardArgs)
include(CGAL_GeneratorSpecificSettings)
# Is it already configured?
if (GMP_INCLUDE_DIR AND GMP_LIBRARIES_DIR )

View File

@ -23,7 +23,7 @@ if(GMP_FOUND)
DOC "Path to the GMPXX library"
)
include(FindPackageHandleStandardArgs)
include(CGAL_FindPackageHandleStandardArgs)
find_package_handle_standard_args(GMPXX "DEFAULT_MSG" GMPXX_LIBRARIES GMPXX_INCLUDE_DIR )

View File

@ -28,7 +28,7 @@
include(CheckFunctionExists)
include(GeneratorSpecificSettings)
include(CGAL_GeneratorSpecificSettings)
# This macro checks for the existence of the combination of fortran libraries

View File

@ -7,8 +7,8 @@
# TODO: support MacOSX
include(FindPackageHandleStandardArgs)
include(GeneratorSpecificSettings)
include(CGAL_FindPackageHandleStandardArgs)
include(CGAL_GeneratorSpecificSettings)
# Is it already configured?
if (MPFR_INCLUDE_DIR AND MPFR_LIBRARIES_DIR )

View File

@ -9,8 +9,6 @@
# TAUCS_LIBRARIES - TAUCS libraries name.
# May be null if the compiler supports auto-link (e.g. VC++).
include(GeneratorSpecificSettings)
# Is it already configured?
if (TAUCS_INCLUDE_DIR AND TAUCS_LIBRARIES_DIR)
@ -93,14 +91,5 @@ else()
endif(TAUCS_FOUND)
endif(NOT TAUCS_FIND_QUIETLY)
#message("DEBUG: TAUCS_INCLUDE_DIR = ${TAUCS_INCLUDE_DIR}")
#message("DEBUG: TAUCS_LIBRARIES = ${TAUCS_LIBRARIES}")
#message("DEBUG: TAUCS_LIBRARIES_DIR = ${TAUCS_LIBRARIES_DIR}")
#message("DEBUG: TAUCS_FOUND = ${TAUCS_FOUND}")
endif(TAUCS_INCLUDE_DIR AND TAUCS_LIBRARIES_DIR)
#mark_as_advanced(TAUCS_INCLUDE_DIR)
#mark_as_advanced(TAUCS_DEFINITIONS)
#mark_as_advanced(TAUCS_LIBRARIES)
#mark_as_advanced(TAUCS_LIBRARIES_DIR)

View File

@ -13,11 +13,11 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CGAL_CMAKE_MODULE_PATH})
if(NOT USE_CGAL_FILE_INCLUDED)
set(USE_CGAL_FILE_INCLUDED 1)
include(CGALcommon)
include(CGAL_Common)
if ( CGAL_IS_CURRENT_SCRIPT_TOP_LEVEL )
include(CGAL_SetupFlags)
include(GeneratorSpecificSettings)
include(CGAL_GeneratorSpecificSettings)
endif()
set( CGAL_LIBRARIES ${CGAL_LIBRARY} )

View File

@ -19,7 +19,6 @@ if ( CGAL_FOUND )
include( ${CGAL_USE_FILE} )
include( CreateSingleSourceCGALProgram )
include( GeneratorSpecificSettings )
# Link with BLAS and LAPACK (required)
include( CGAL_UseLAPACK )

View File

@ -35,7 +35,6 @@ if ( CGAL_FOUND )
include( ${CGAL_USE_FILE} )
include( CreateSingleSourceCGALProgram )
include( GeneratorSpecificSettings )
# Link with BLAS, LAPACK and TAUCS (optional)
include( CGAL_UseTAUCS )