MantisBT - CMake
View Issue Details
0001527CMakepublic2005-01-25 11:372005-01-28 10:18
Chris Scharver 
Bill Hoffman 
lowfeaturealways
closedduplicate 
 
 
0001527: Multiple OPTION choices
Currently, CMake OPTIONs may only be set ON or OFF. This can lead to complex files containing lots of ON/OFF settings. It would be nice to have OPTION support multiple choices. At one point, this was discussed as a possible feature for CMake 1.8. This could be especially useful for settings things like the MSVC runtime library or more easily setting CMAKE_BUILD_TYPE.

OPTION(OPTION_VAR [choice1 choice2 ...]
         DOC "help string decribing option"
         [initial value])
No tags attached.
Issue History

Notes
(0001987)
Bill Hoffman   
2005-01-28 10:18   
see bug #39...