The documentation suggests to use the CLEAR argument:<br><br> mark_as_advanced<br> Mark cmake cached variables as advanced.<br><br> mark_as_advanced([CLEAR|FORCE] VAR VAR2 VAR...)<br><br> Mark the named cached variables as advanced. An<br>
advanced variable will not be displayed in any of the<br> cmake GUIs unless the show advanced option is on. If<br> CLEAR is the first argument advanced variables are<br> changed back to unadvanced. If FORCE is the first<br>
argument, then the variable is made advanced. If<br> neither FORCE nor CLEAR is specified, new values will<br> be marked as advanced, but if the variable already has<br> an advanced/non-advanced state, it will not be changed.<br>
<br> It does nothing in script mode.<br><br>James<br><br><div class="gmail_quote">On Tue, Dec 16, 2008 at 2:04 PM, Mattias Helsing <span dir="ltr"><<a href="mailto:helsing72@gmail.com">helsing72@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi all,<br>
<br>
Us osg'ers are trying to find a way to make the BUILD_DOCUMENTATION<br>
(from Documentation.cmake) option "simple", i.e we want it to appear<br>
to a normal user without him/her ticking the 'advanced' checkbox. Is<br>
it possible to remove a 'mark_as_advanced' property on a variable?<br>
<br>
regards<br>
Mattias<br>
_______________________________________________<br>
CMake mailing list<br>
<a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br>