summaryrefslogtreecommitdiff
path: root/Modules/CPack.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-07-31 10:23:38 -0400
committerBrad King <brad.king@kitware.com>2014-07-31 10:24:03 -0400
commitefb45007f9bdd86efdbe27df75ece1043b3a075e (patch)
tree2007abdfeb134829b27343be82f1104a0b075b16 /Modules/CPack.cmake
parentb48211d4261840136e750d3d82f195ad48b17a8f (diff)
downloadcmake-efb45007f9bdd86efdbe27df75ece1043b3a075e.tar.gz
CPack: Expand mark_as_advanced arguments to one-per-line
This will allow new values to be added without editing existing lines.
Diffstat (limited to 'Modules/CPack.cmake')
-rw-r--r--Modules/CPack.cmake35
1 files changed, 26 insertions, 9 deletions
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