summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackGeneratorFactory.cxx
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2013-11-02 16:24:53 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2016-06-03 20:41:57 (GMT)
commit2e3c67d1b636f752eea35ef407c5243a79742d63 (patch)
tree9398330039272daa72dbb35c18b0d480f01c3364 /Source/CPack/cmCPackGeneratorFactory.cxx
parent50a3d34005ec923db3d76d0a5d118437a7632617 (diff)
downloadCMake-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.cxx5
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__)