diff options
author | Brad King <brad.king@kitware.com> | 2014-05-08 17:38:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-05-08 18:13:20 (GMT) |
commit | dc3c210244d93a4828423a336cf8032ab1300fe8 (patch) | |
tree | 491daf9c9c6cdfe15e85e10830645404554990fb /Utilities/Release | |
parent | d91c0f7a3f406dcf5c803e86ad6ac2e75ec0b85f (diff) | |
download | CMake-dc3c210244d93a4828423a336cf8032ab1300fe8.zip CMake-dc3c210244d93a4828423a336cf8032ab1300fe8.tar.gz CMake-dc3c210244d93a4828423a336cf8032ab1300fe8.tar.bz2 |
OS X: Package with DragNDrop instead of PackageMaker
Use the CPack DragNDrop generator instead of the deprecated PackageMaker
tool to package CMake itself. This provides an installation experience
that is more consistent with other products on OS X and allows users to
select the destination directory easily. It also avoids installing
"/private/var/db/receipts/com.Kitware.CMake.*" receipts that must be
removed by "pkgutil --forget com.Kitware.CMake" before another version
of CMake can be installed.
The DragNDrop installer does not support a post-flight script, so drop
our configuration of it. The cmake-gui has an option for installing
symbolic links to enable command-line use. In practice users may simply
add "/Applications/CMake.app/Contents/bin" to their PATH instead.
Diffstat (limited to 'Utilities/Release')
-rw-r--r-- | Utilities/Release/dashmacmini2_release.cmake | 2 | ||||
-rw-r--r-- | Utilities/Release/dashmacmini5_release.cmake | 2 | ||||
-rw-r--r-- | Utilities/Release/release_cmake.cmake | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Utilities/Release/dashmacmini2_release.cmake b/Utilities/Release/dashmacmini2_release.cmake index 89c99bc..6a27119 100644 --- a/Utilities/Release/dashmacmini2_release.cmake +++ b/Utilities/Release/dashmacmini2_release.cmake @@ -5,7 +5,7 @@ set(INSTALL_PREFIX /) set(HOST dashmacmini2) set(MAKE_PROGRAM "make") set(MAKE "${MAKE_PROGRAM} -j2") -set(CPACK_BINARY_GENERATORS "PackageMaker TGZ TZ") +set(CPACK_BINARY_GENERATORS "DragNDrop TGZ TZ") set(INITIAL_CACHE " CMAKE_BUILD_TYPE:STRING=Release CMAKE_OSX_ARCHITECTURES:STRING=ppc;i386 diff --git a/Utilities/Release/dashmacmini5_release.cmake b/Utilities/Release/dashmacmini5_release.cmake index f777718..16a30b3 100644 --- a/Utilities/Release/dashmacmini5_release.cmake +++ b/Utilities/Release/dashmacmini5_release.cmake @@ -5,7 +5,7 @@ set(INSTALL_PREFIX /) set(HOST dashmacmini5) set(MAKE_PROGRAM "make") set(MAKE "${MAKE_PROGRAM} -j5") -set(CPACK_BINARY_GENERATORS "PackageMaker TGZ TZ") +set(CPACK_BINARY_GENERATORS "DragNDrop TGZ TZ") set(CPACK_SOURCE_GENERATORS "TGZ TZ") set(INITIAL_CACHE " CMAKE_USE_OPENSSL:BOOL=ON diff --git a/Utilities/Release/release_cmake.cmake b/Utilities/Release/release_cmake.cmake index 7a1652d..4c4dd8a 100644 --- a/Utilities/Release/release_cmake.cmake +++ b/Utilities/Release/release_cmake.cmake @@ -99,7 +99,7 @@ foreach(gen ${generators}) if("${gen}" STREQUAL "STGZ") set(SUFFIXES ${SUFFIXES} "*.sh") endif() - if("${gen}" STREQUAL "PackageMaker") + if("${gen}" STREQUAL "DragNDrop") set(SUFFIXES ${SUFFIXES} "*.dmg") endif() if("${gen}" STREQUAL "TBZ2") |