[CMake] "Combo Box" cache variables

Alexander Neundorf a.neundorf-work at gmx.net
Thu Apr 9 16:11:32 EDT 2009


On Thursday 09 April 2009, Robert Dailey wrote:
> I think it would be useful to have a "combo box" type for cache variables.
> This would allow the user to select from a list of pre-defined values in
> the cmake-gui application. I'm not sure how this would work on other
> platforms, but I would be interested in hearing what people think about
> this. If there is already a way of doing this please let me know.

Yes, there is I think, in cmake cvs, but I think this is not yet in a released 
version, but I'm not sure.
Check the documentation for set_property( ... CACHE ...) and for "Properties 
on Cache Entries".

Alex


More information about the CMake mailing list