[CMake] List of possible completion values

David Cole david.cole at kitware.com
Wed Mar 30 12:07:54 EDT 2011


On Wed, Mar 30, 2011 at 11:56 AM, Michael Wild <themiwi at gmail.com> wrote:

> 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
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>


This behavior is presently only implemented in cmake-gui. It is not in
ccmake.

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110330/83f4e676/attachment.htm>


More information about the CMake mailing list