MantisBT - CMake
View Issue Details
0007313CMakeCMakepublic2008-07-09 07:542009-09-14 20:59
Andreas Pokorny 
Bill Hoffman 
normalfeaturealways
closedfixed 
 
 
0007313: Provide String Variable with a fixed list of allowed values - for failsafe GUI configuration
It would be nice to have more than just arbitrary string values or booleans
to configure a build. I.e. It would like to be able to do the following

SET(GRAPHICS_LIB X11 CACHE String "Defines the graphics library to use" X11 Cocoa homegrown Antigrain)

Then inside the curses and QT dialog the user will only be able to set one
of the values, either X11, Coca homegrown or Antigrain. Each illegal value
set by the commandline or by modifying the cache file could be detected
by CMake, and treated as an error.
No tags attached.
Issue History
2008-07-09 07:54Andreas PokornyNew Issue
2008-07-18 17:11Alex NeundorfNote Added: 0012751
2008-08-21 15:39Bill HoffmanStatusnew => assigned
2008-08-21 15:39Bill HoffmanAssigned To => Bill Hoffman
2009-09-14 20:59Bill HoffmanNote Added: 0017505
2009-09-14 20:59Bill HoffmanStatusassigned => closed
2009-09-14 20:59Bill HoffmanResolutionopen => fixed

Notes
(0012751)
Alex Neundorf   
2008-07-18 17:11   
This is a duplicate of 0001527

Alex
(0017505)
Bill Hoffman   
2009-09-14 20:59   
This is done in cvs cmake with cmake-gui.