On Wed, Mar 30, 2011 at 11:56 AM, Michael Wild <them...@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
_______________________________________________
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

Reply via email to