diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2011-03-28 15:11:27 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-03-31 17:33:10 (GMT) |
commit | 2973c1fbebcbaff944ff2d75e5a44437bf9725c7 (patch) | |
tree | 5da5072ce3961e4ae4c0f824bdb929cac0b9d6fd /Source/CPack/cmCPackDragNDropGenerator.h | |
parent | 64a5e209998f12662a56346f855b1973cbbd0440 (diff) | |
download | CMake-2973c1fbebcbaff944ff2d75e5a44437bf9725c7.zip CMake-2973c1fbebcbaff944ff2d75e5a44437bf9725c7.tar.gz CMake-2973c1fbebcbaff944ff2d75e5a44437bf9725c7.tar.bz2 |
Add component support to DragNDrop generator.
Diffstat (limited to 'Source/CPack/cmCPackDragNDropGenerator.h')
-rw-r--r-- | Source/CPack/cmCPackDragNDropGenerator.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackDragNDropGenerator.h b/Source/CPack/cmCPackDragNDropGenerator.h index dcef7fb..3d05f99 100644 --- a/Source/CPack/cmCPackDragNDropGenerator.h +++ b/Source/CPack/cmCPackDragNDropGenerator.h @@ -30,11 +30,15 @@ protected: virtual int InitializeInternal(); virtual const char* GetOutputExtension(); int PackageFiles(); + bool SupportsComponentInstallation() const; + bool CopyFile(cmOStringStream& source, cmOStringStream& target); bool RunCommand(cmOStringStream& command, std::string* output = 0); - int CreateDMG(); + std::string GetComponentInstallDirNameSuffix(const std::string& componentName); + + int CreateDMG(const std::string& src_dir, const std::string& output_file); std::string InstallPrefix; }; |