summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackDebGenerator.h
diff options
context:
space:
mode:
authorM. Konrad <konrad@ikp.tu-darmstadt.de>2011-03-11 07:47:15 (GMT)
committerEric NOULARD <eric.noulard@gmail.com>2011-03-11 07:47:15 (GMT)
commitbf7066c6ce992cdb8d663de8bc1794284d953769 (patch)
treed568e9f0ae54e18c99a2b8f96d998a5e40cf279a /Source/CPack/cmCPackDebGenerator.h
parent8def3f59495208b44ae2b94d177c9cccd5bb1cca (diff)
downloadCMake-bf7066c6ce992cdb8d663de8bc1794284d953769.zip
CMake-bf7066c6ce992cdb8d663de8bc1794284d953769.tar.gz
CMake-bf7066c6ce992cdb8d663de8bc1794284d953769.tar.bz2
CPackDeb add Component Support to DEB generator fix #0011655
Contribution by Martin Konrad Signed-off-by: Eric NOULARD <eric.noulard@gmail.com>
Diffstat (limited to 'Source/CPack/cmCPackDebGenerator.h')
-rw-r--r--Source/CPack/cmCPackDebGenerator.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/Source/CPack/cmCPackDebGenerator.h b/Source/CPack/cmCPackDebGenerator.h
index 4a357d1..de1ea77 100644
--- a/Source/CPack/cmCPackDebGenerator.h
+++ b/Source/CPack/cmCPackDebGenerator.h
@@ -33,8 +33,26 @@ public:
protected:
virtual int InitializeInternal();
+ /**
+ * The method used to package files when component
+ * install is used. This will create one
+ * archive for each component group.
+ */
+ int PackageComponents(bool ignoreGroup);
+ /**
+ * Special case of component install where all
+ * components will be put in a single installer.
+ */
+ int PackageComponentsAllInOne(bool allComponent);
virtual int PackageFiles();
virtual const char* GetOutputExtension() { return ".deb"; }
+ virtual bool SupportsComponentInstallation() const;
+ virtual std::string GetComponentInstallDirNameSuffix(
+ const std::string& componentName);
+
+private:
+ int createDeb();
+ std::vector<std::string> packageFiles;
};