summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackGeneratorFactory.cxx
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2009-01-22 17:12:44 (GMT)
committerDavid Cole <david.cole@kitware.com>2009-01-22 17:12:44 (GMT)
commit3a4f76949acb99b53380c738a25c7bae4ba317c9 (patch)
tree91ac7ec885812ca2199e628e87277c8490ed2ce9 /Source/CPack/cmCPackGeneratorFactory.cxx
parentdfc181a1dc0baa3b4f36b64a0b64e68c1a2f636a (diff)
downloadCMake-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 'Source/CPack/cmCPackGeneratorFactory.cxx')
-rw-r--r--Source/CPack/cmCPackGeneratorFactory.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/CPack/cmCPackGeneratorFactory.cxx b/Source/CPack/cmCPackGeneratorFactory.cxx
index d7b7271..4628339 100644
--- a/Source/CPack/cmCPackGeneratorFactory.cxx
+++ b/Source/CPack/cmCPackGeneratorFactory.cxx
@@ -25,6 +25,7 @@
#include "cmCPackSTGZGenerator.h"
#include "cmCPackNSISGenerator.h"
#ifdef __APPLE__
+# include "cmCPackDragNDropGenerator.h"
# include "cmCPackBundleGenerator.h"
# include "cmCPackPackageMakerGenerator.h"
# include "cmCPackOSXX11Generator.h"
@@ -67,6 +68,8 @@ cmCPackGeneratorFactory::cmCPackGeneratorFactory()
this->RegisterGenerator("TZ", "Tar Compress compression",
cmCPackTarCompressGenerator::CreateGenerator);
#ifdef __APPLE__
+ this->RegisterGenerator("DragNDrop", "Mac OSX Drag And Drop",
+ cmCPackDragNDropGenerator::CreateGenerator);
this->RegisterGenerator("Bundle", "Mac OSX bundle",
cmCPackBundleGenerator::CreateGenerator);
this->RegisterGenerator("PackageMaker", "Mac OSX Package Maker installer",