[CMake] List of possible completion values
Michael Wild
themiwi at gmail.com
Wed Mar 30 11:56:03 EDT 2011
On 03/30/2011 05:52 PM, Tim Gallagher wrote:
> Hi,
>
> Is there a way (and if not, how do I submit a feature request) to have a set of drop-down type options in the ccmake interface? The obvious example is for CMAKE_BUILD_TYPE, where something like hitting Enter scrolls through Release -> Debug -> MinSizeRel, etc..
>
> Maybe somebody has already written something to do this somewhere and I just can't find it...
>
> Thanks,
>
> Tim
yes.
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS
Debug Release RelWithDebInfo MinSizeRel)
HTH
Michael
More information about the CMake
mailing list