[CMake] can you undo mark_asadvanced ?
James Bigler
jamesbigler at gmail.com
Tue Dec 16 16:27:04 EST 2008
The documentation suggests to use the CLEAR argument:
mark_as_advanced
Mark cmake cached variables as advanced.
mark_as_advanced([CLEAR|FORCE] VAR VAR2 VAR...)
Mark the named cached variables as advanced. An
advanced variable will not be displayed in any of the
cmake GUIs unless the show advanced option is on. If
CLEAR is the first argument advanced variables are
changed back to unadvanced. If FORCE is the first
argument, then the variable is made advanced. If
neither FORCE nor CLEAR is specified, new values will
be marked as advanced, but if the variable already has
an advanced/non-advanced state, it will not be changed.
It does nothing in script mode.
James
On Tue, Dec 16, 2008 at 2:04 PM, Mattias Helsing <helsing72 at gmail.com>wrote:
> Hi all,
>
> Us osg'ers are trying to find a way to make the BUILD_DOCUMENTATION
> (from Documentation.cmake) option "simple", i.e we want it to appear
> to a normal user without him/her ticking the 'advanced' checkbox. Is
> it possible to remove a 'mark_as_advanced' property on a variable?
>
> regards
> Mattias
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20081216/1f0c49dd/attachment.htm>
More information about the CMake
mailing list