diff options
author | M. Konrad <konrad@ikp.tu-darmstadt.de> | 2011-03-11 07:47:15 (GMT) |
---|---|---|
committer | Eric NOULARD <eric.noulard@gmail.com> | 2011-03-11 07:47:15 (GMT) |
commit | bf7066c6ce992cdb8d663de8bc1794284d953769 (patch) | |
tree | d568e9f0ae54e18c99a2b8f96d998a5e40cf279a /Source/CPack/cmCPackDebGenerator.h | |
parent | 8def3f59495208b44ae2b94d177c9cccd5bb1cca (diff) | |
download | CMake-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.h | 18 |
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; }; |