summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackGenerators.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2007-01-10 20:30:26 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2007-01-10 20:30:26 (GMT)
commitde5540f7e5215ea1cce982f5e7357f4999c3f908 (patch)
tree9410e064963651c0b543bdb2941f14fe6b091798 /Source/CPack/cmCPackGenerators.cxx
parentc2780e2c9a83e50b2cdd5225ede341c7de67d862 (diff)
downloadCMake-de5540f7e5215ea1cce982f5e7357f4999c3f908.zip
CMake-de5540f7e5215ea1cce982f5e7357f4999c3f908.tar.gz
CMake-de5540f7e5215ea1cce982f5e7357f4999c3f908.tar.bz2
ENH: First pass at CPack generator for OSX X11 applications. This are applications that require X11 to work. This is not really installed but a bundle packager
Diffstat (limited to 'Source/CPack/cmCPackGenerators.cxx')
-rw-r--r--Source/CPack/cmCPackGenerators.cxx13
1 files changed, 10 insertions, 3 deletions
diff --git a/Source/CPack/cmCPackGenerators.cxx b/Source/CPack/cmCPackGenerators.cxx
index 3515e0e..4d0dc68 100644
--- a/Source/CPack/cmCPackGenerators.cxx
+++ b/Source/CPack/cmCPackGenerators.cxx
@@ -23,8 +23,13 @@
#include "cmCPackTarCompressGenerator.h"
#include "cmCPackZIPGenerator.h"
#include "cmCPackSTGZGenerator.h"
-#include "cmCPackNSISGenerator.h"
-#include "cmCPackPackageMakerGenerator.h"
+#ifdef _WIN32
+# include "cmCPackNSISGenerator.h"
+#endif
+#ifdef __APPLE__
+# include "cmCPackPackageMakerGenerator.h"
+# include "cmCPackOSXX11Generator.h"
+#endif
#include "cmCPackLog.h"
@@ -46,8 +51,10 @@ cmCPackGenerators::cmCPackGenerators()
this->RegisterGenerator("TZ", "Tar Compress compression",
cmCPackTarCompressGenerator::CreateGenerator);
#ifdef __APPLE__
- this->RegisterGenerator("PackageMaker", "Mac OSX Package Maker compression",
+ this->RegisterGenerator("PackageMaker", "Mac OSX Package Maker installer",
cmCPackPackageMakerGenerator::CreateGenerator);
+ this->RegisterGenerator("OSXX11", "Mac OSX X11 bundle",
+ cmCPackOSXX11Generator::CreateGenerator);
#endif
}