CPack: Expand mark_as_advanced arguments to one-per-line

This will allow new values to be added without editing existing lines.
This commit is contained in:
Brad King 2014-07-31 10:23:38 -04:00
parent b48211d426
commit efb45007f9
1 changed files with 26 additions and 9 deletions

View File

@ -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
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)
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