diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2013-11-02 16:24:53 (GMT) |
---|---|---|
committer | Clinton Stimpson <clinton@elemtech.com> | 2016-06-03 20:41:57 (GMT) |
commit | 2e3c67d1b636f752eea35ef407c5243a79742d63 (patch) | |
tree | 9398330039272daa72dbb35c18b0d480f01c3364 /Source/CPack/cmCPackGeneratorFactory.cxx | |
parent | 50a3d34005ec923db3d76d0a5d118437a7632617 (diff) | |
download | CMake-2e3c67d1b636f752eea35ef407c5243a79742d63.zip CMake-2e3c67d1b636f752eea35ef407c5243a79742d63.tar.gz CMake-2e3c67d1b636f752eea35ef407c5243a79742d63.tar.bz2 |
productbuild: Add new productbuild cpack generator.
This cpack generator basically replaces the obsolete PackageMaker generator.
Diffstat (limited to 'Source/CPack/cmCPackGeneratorFactory.cxx')
-rw-r--r-- | Source/CPack/cmCPackGeneratorFactory.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/CPack/cmCPackGeneratorFactory.cxx b/Source/CPack/cmCPackGeneratorFactory.cxx index b17f52e..cf072bb 100644 --- a/Source/CPack/cmCPackGeneratorFactory.cxx +++ b/Source/CPack/cmCPackGeneratorFactory.cxx @@ -28,6 +28,7 @@ #include "cmCPackDragNDropGenerator.h" #include "cmCPackOSXX11Generator.h" #include "cmCPackPackageMakerGenerator.h" +#include "cmCPackProductBuildGenerator.h" #endif #ifdef __CYGWIN__ @@ -122,6 +123,10 @@ cmCPackGeneratorFactory::cmCPackGeneratorFactory() this->RegisterGenerator("OSXX11", "Mac OSX X11 bundle", cmCPackOSXX11Generator::CreateGenerator); } + if (cmCPackProductBuildGenerator::CanGenerate()) { + this->RegisterGenerator("productbuild", "Mac OSX pkg", + cmCPackProductBuildGenerator::CreateGenerator); + } #endif #if !defined(_WIN32) && !defined(__QNXNTO__) && !defined(__BEOS__) && \ !defined(__HAIKU__) |