From efb45007f9bdd86efdbe27df75ece1043b3a075e Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 31 Jul 2014 10:23:38 -0400 Subject: CPack: Expand mark_as_advanced arguments to one-per-line This will allow new values to be added without editing existing lines. --- Modules/CPack.cmake | 35 ++++++++++++++++++++++++++--------- 1 file changed, 26 insertions(+), 9 deletions(-) (limited to 'Modules/CPack.cmake') diff --git a/Modules/CPack.cmake b/Modules/CPack.cmake index d9e1694129..cb91e994de 100644 --- a/Modules/CPack.cmake +++ b/Modules/CPack.cmake @@ -486,15 +486,32 @@ if(NOT CPACK_SOURCE_GENERATOR) endif() # mark the above options as advanced -mark_as_advanced(CPACK_BINARY_CYGWIN CPACK_BINARY_PACKAGEMAKER CPACK_BINARY_OSXX11 - CPACK_BINARY_STGZ CPACK_BINARY_TGZ CPACK_BINARY_TBZ2 - CPACK_BINARY_DEB CPACK_BINARY_RPM CPACK_BINARY_TZ - CPACK_BINARY_TXZ CPACK_BINARY_7Z - CPACK_BINARY_NSIS CPACK_BINARY_WIX CPACK_BINARY_ZIP CPACK_BINARY_BUNDLE - CPACK_BINARY_IFW - CPACK_SOURCE_CYGWIN CPACK_SOURCE_TBZ2 CPACK_SOURCE_TGZ - CPACK_SOURCE_TXZ CPACK_SOURCE_7Z - CPACK_SOURCE_TZ CPACK_SOURCE_ZIP CPACK_BINARY_DRAGNDROP) +mark_as_advanced( + CPACK_BINARY_CYGWIN + CPACK_BINARY_PACKAGEMAKER + CPACK_BINARY_OSXX11 + CPACK_BINARY_STGZ + CPACK_BINARY_TGZ + CPACK_BINARY_TBZ2 + CPACK_BINARY_DEB + CPACK_BINARY_RPM + CPACK_BINARY_TZ + CPACK_BINARY_TXZ + CPACK_BINARY_7Z + CPACK_BINARY_NSIS + CPACK_BINARY_WIX + CPACK_BINARY_ZIP + CPACK_BINARY_BUNDLE + CPACK_BINARY_IFW + CPACK_SOURCE_CYGWIN + CPACK_SOURCE_TBZ2 + CPACK_SOURCE_TGZ + CPACK_SOURCE_TXZ + CPACK_SOURCE_7Z + CPACK_SOURCE_TZ + CPACK_SOURCE_ZIP + CPACK_BINARY_DRAGNDROP + ) # Set some other variables cpack_set_if_not_set(CPACK_INSTALL_CMAKE_PROJECTS -- cgit v1.2.1