[CMake] creating a CMakeUtils.cmake ?

Alexander Neundorf a.neundorf-work at gmx.net
Mon Jan 30 15:18:44 EST 2006


Hi, 
 
what do you think about creating a cmake module which contains several 
useful macros ? 
E.g. stuff like: 
 
MACRO(OPTIONAL_PACKAGE name) 
   OPTION(WITH_${name} "ON" "Support ${name}") 
   IF(WITH_${name}) 
      FIND_PACKAGE(${name}) 
   ENDIF(WITH_${name}) 
ENDMACRO(OPTIONAL_PACKAGE) 
 
(just as an example, needs finetuning). 
 
What would be a good name ? 
CMakeUtils, CMakeTools, CMakeLib (sounds as it would be related to 
creating libraries) ? 
 
Bye 
Alex 
 

-- 
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie


More information about the CMake mailing list