diff options
author | Brad King <brad.king@kitware.com> | 2016-06-06 15:19:20 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-06-06 15:19:20 (GMT) |
commit | d546456765072e6d4e6307eb6431de23f7bfe418 (patch) | |
tree | ece9c9f378c5be8caf1409ce6fdedb36df7497c6 /Source/CPack/cmCPackGeneratorFactory.cxx | |
parent | c3b268e40d48e25e380ebf2d38edee9a5b604e0c (diff) | |
parent | 63e5eb5fd37691190e80bed142b7f08c3420f625 (diff) | |
download | CMake-d546456765072e6d4e6307eb6431de23f7bfe418.zip CMake-d546456765072e6d4e6307eb6431de23f7bfe418.tar.gz CMake-d546456765072e6d4e6307eb6431de23f7bfe418.tar.bz2 |
Merge topic 'productbuild'
63e5eb5f Help: Add notes for 'productbuild' topic
2e3c67d1 productbuild: Add new productbuild cpack generator.
50a3d340 PackageMaker: factor out common code for creating pkg files.
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__) |