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 <[email protected]>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
> [email protected]
> http://www.cmake.org/mailman/listinfo/cmake
>
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to