[Orxonox-commit 3741] r8421 - code/trunk/cmake/tools
rgrieder at orxonox.net
rgrieder at orxonox.net
Sun May 8 19:54:38 CEST 2011
Author: rgrieder
Date: 2011-05-08 19:54:38 +0200 (Sun, 08 May 2011)
New Revision: 8421
Modified:
code/trunk/cmake/tools/TargetUtilities.cmake
Log:
Hide the PCH_ENABLE_TARGET variables in the CMake GUI (almost never used and a lot of options).
Modified: code/trunk/cmake/tools/TargetUtilities.cmake
===================================================================
--- code/trunk/cmake/tools/TargetUtilities.cmake 2011-05-08 17:51:57 UTC (rev 8420)
+++ code/trunk/cmake/tools/TargetUtilities.cmake 2011-05-08 17:54:38 UTC (rev 8421)
@@ -192,6 +192,8 @@
ENDIF()
CMAKE_DEPENDENT_OPTION(PCH_ENABLE_${_target_name_upper}
"Enable using precompiled header files for library ${_target_name}." ${PCH_DEFAULT} PCH_ENABLE OFF)
+ # Almost never used individually, but produces a lot of options --> hide
+ MARK_AS_ADVANCED(PCH_ENABLE_${_target_name_upper})
IF(PCH_ENABLE_${_target_name_upper})
PRECOMPILED_HEADER_FILES_PRE_TARGET(${_target_name} ${_arg_PCH_FILE} _${_target_name}_files EXCLUDE ${_arg_PCH_EXCLUDE})
More information about the Orxonox-commit
mailing list