diff options
author | David Cole <david.cole@kitware.com> | 2009-01-22 17:12:44 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2009-01-22 17:12:44 (GMT) |
commit | 3a4f76949acb99b53380c738a25c7bae4ba317c9 (patch) | |
tree | 91ac7ec885812ca2199e628e87277c8490ed2ce9 /Modules/CPack.cmake | |
parent | dfc181a1dc0baa3b4f36b64a0b64e68c1a2f636a (diff) | |
download | CMake-3a4f76949acb99b53380c738a25c7bae4ba317c9.zip CMake-3a4f76949acb99b53380c738a25c7bae4ba317c9.tar.gz CMake-3a4f76949acb99b53380c738a25c7bae4ba317c9.tar.bz2 |
BUG: Fix issue #8402. Add a drag and drop bundle generator to the Mac build of CPack. Add a test of it in the CPackComponents test. Thanks to Clinton Stimpson for the patch.
Diffstat (limited to 'Modules/CPack.cmake')
-rw-r--r-- | Modules/CPack.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/CPack.cmake b/Modules/CPack.cmake index 75e0c20..d7685cd 100644 --- a/Modules/CPack.cmake +++ b/Modules/CPack.cmake @@ -708,6 +708,7 @@ if(NOT CPACK_GENERATOR) else(CYGWIN) if(APPLE) option(CPACK_BINARY_BUNDLE "Enable to build OSX bundles" OFF) + option(CPACK_BINARY_DRAGNDROP "Enable to build OSX Drag And Drop package" OFF) option(CPACK_BINARY_PACKAGEMAKER "Enable to build PackageMaker packages" ON) option(CPACK_BINARY_OSXX11 "Enable to build OSX X11 packages" OFF) else(APPLE) @@ -726,6 +727,7 @@ if(NOT CPACK_GENERATOR) endif(UNIX) cpack_optional_append(CPACK_GENERATOR CPACK_BINARY_BUNDLE Bundle) + cpack_optional_append(CPACK_GENERATOR CPACK_BINARY_DRAGNDROP DragNDrop) cpack_optional_append(CPACK_GENERATOR CPACK_BINARY_PACKAGEMAKER PackageMaker) cpack_optional_append(CPACK_GENERATOR CPACK_BINARY_OSXX11 OSXX11) cpack_optional_append(CPACK_GENERATOR CPACK_BINARY_CYGWIN CygwinBinary) @@ -768,7 +770,7 @@ mark_as_advanced(CPACK_BINARY_CYGWIN CPACK_BINARY_PACKAGEMAKER CPACK_BINARY_OSXX CPACK_BINARY_DEB CPACK_BINARY_RPM CPACK_BINARY_TZ CPACK_BINARY_NSIS CPACK_BINARY_ZIP CPACK_BINARY_BUNDLE CPACK_SOURCE_CYGWIN CPACK_SOURCE_TBZ2 CPACK_SOURCE_TGZ - CPACK_SOURCE_TZ CPACK_SOURCE_ZIP) + CPACK_SOURCE_TZ CPACK_SOURCE_ZIP CPACK_BINARY_DRAGNDROP) # Set some other variables cpack_set_if_not_set(CPACK_INSTALL_CMAKE_PROJECTS |