mirror of https://github.com/CGAL/cgal
Add comments of unused macros, for later cleanup
This commit is contained in:
parent
856ee3d90f
commit
8779d9c684
|
|
@ -3,6 +3,7 @@ if( NOT CGAL_MACROS_FILE_INCLUDED )
|
||||||
|
|
||||||
include("${CGAL_MODULES_DIR}/CGAL_VersionUtils.cmake")
|
include("${CGAL_MODULES_DIR}/CGAL_VersionUtils.cmake")
|
||||||
|
|
||||||
|
# Probably unused. -- Laurent Rineau, 2011/07/21
|
||||||
macro(assert _arg )
|
macro(assert _arg )
|
||||||
if ( NOT ${_arg} )
|
if ( NOT ${_arg} )
|
||||||
message( FATAL_ERROR "Variable ${_arg} must be defined" )
|
message( FATAL_ERROR "Variable ${_arg} must be defined" )
|
||||||
|
|
@ -71,6 +72,7 @@ if( NOT CGAL_MACROS_FILE_INCLUDED )
|
||||||
endif()
|
endif()
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
|
# Probably unused. -- Laurent Rineau, 2011/07/21
|
||||||
macro( at list idx var )
|
macro( at list idx var )
|
||||||
list( LENGTH ${list} ${list}_length )
|
list( LENGTH ${list} ${list}_length )
|
||||||
if ( ${idx} LESS ${${list}_length} )
|
if ( ${idx} LESS ${${list}_length} )
|
||||||
|
|
@ -242,6 +244,9 @@ if( NOT CGAL_MACROS_FILE_INCLUDED )
|
||||||
endif()
|
endif()
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
|
|
||||||
|
## All the following macros are probably unused. -- Laurent Rineau, 2011/07/21
|
||||||
|
|
||||||
# Composes a tagged list of libraries: a list with interpersed keywords or tags
|
# Composes a tagged list of libraries: a list with interpersed keywords or tags
|
||||||
# indicating that all following libraries, up to the next tag, are to be linked only for the
|
# indicating that all following libraries, up to the next tag, are to be linked only for the
|
||||||
# corresponding build type. The 'general' tag indicates libraries that corresponds to all build types.
|
# corresponding build type. The 'general' tag indicates libraries that corresponds to all build types.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue