diff options
author | Brad King <brad.king@kitware.com> | 2011-04-05 18:29:06 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2011-04-05 18:29:06 (GMT) |
commit | b7b9597b75ef44b4e7b03020aedfc2466be4dc89 (patch) | |
tree | 578a9bc68f1776baa51b2dfaff997aae2a9bfd85 /Source/CPack/cmCPackDragNDropGenerator.h | |
parent | c90fa7c00c142d42067ce90c07d52c6d489fe815 (diff) | |
parent | dd04608132f6580df6fd857d5bfc4f67ad2b0ec3 (diff) | |
download | CMake-b7b9597b75ef44b4e7b03020aedfc2466be4dc89.zip CMake-b7b9597b75ef44b4e7b03020aedfc2466be4dc89.tar.gz CMake-b7b9597b75ef44b4e7b03020aedfc2466be4dc89.tar.bz2 |
Merge topic 'drag-n-drop-components'
dd04608 Fix KWStyle warnings
2973c1f Add component support to DragNDrop generator.
Diffstat (limited to 'Source/CPack/cmCPackDragNDropGenerator.h')
-rw-r--r-- | Source/CPack/cmCPackDragNDropGenerator.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackDragNDropGenerator.h b/Source/CPack/cmCPackDragNDropGenerator.h index dcef7fb..808c618 100644 --- a/Source/CPack/cmCPackDragNDropGenerator.h +++ b/Source/CPack/cmCPackDragNDropGenerator.h @@ -30,11 +30,16 @@ 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; }; |