summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackBundleGenerator.h
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/cmCPackBundleGenerator.h
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/cmCPackBundleGenerator.h')
-rw-r--r--Source/CPack/cmCPackBundleGenerator.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/Source/CPack/cmCPackBundleGenerator.h b/Source/CPack/cmCPackBundleGenerator.h
index 2a794f3..04c57b4 100644
--- a/Source/CPack/cmCPackBundleGenerator.h
+++ b/Source/CPack/cmCPackBundleGenerator.h
@@ -18,14 +18,14 @@
#ifndef cmCPackBundleGenerator_h
#define cmCPackBundleGenerator_h
-#include "cmCPackGenerator.h"
+#include "cmCPackDragNDropGenerator.h"
/** \class cmCPackBundleGenerator
* \brief A generator for OSX bundles
*
* Based on Gimp.app
*/
-class cmCPackBundleGenerator : public cmCPackGenerator
+class cmCPackBundleGenerator : public cmCPackDragNDropGenerator
{
public:
cmCPackTypeMacro(cmCPackBundleGenerator, cmCPackGenerator);
@@ -34,15 +34,10 @@ public:
virtual ~cmCPackBundleGenerator();
protected:
- virtual int InitializeInternal();
- virtual const char* GetOutputExtension();
virtual const char* GetPackagingInstallPrefix();
int CompressFiles(const char* outFileName, const char* toplevel,
const std::vector<std::string>& files);
- bool CopyFile(cmOStringStream& source, cmOStringStream& target);
- bool RunCommand(cmOStringStream& command, std::string* output = 0);
-
std::string InstallPrefix;
};