diff options
author | Eric NOULARD <eric.noulard@gmail.com> | 2011-02-06 20:23:10 (GMT) |
---|---|---|
committer | Eric NOULARD <eric.noulard@gmail.com> | 2011-02-06 20:23:10 (GMT) |
commit | 494bb8ada786be70f39807a574bea6a1ef98654d (patch) | |
tree | e7cf92bee0c90b6c8a3dcb97e36d8152f6f8698c /Source/CPack/cmCPackRPMGenerator.h | |
parent | 76976a59e9edc550fbf5b7b7ac4dbc381c02d139 (diff) | |
download | CMake-494bb8ada786be70f39807a574bea6a1ef98654d.zip CMake-494bb8ada786be70f39807a574bea6a1ef98654d.tar.gz CMake-494bb8ada786be70f39807a574bea6a1ef98654d.tar.bz2 |
CPackRPM honors all the different ways of packaging components
RPM cannot easily 'merge' differents directory into a single RPM
with shared prefix. So more flexibility has been added to generic
CPackGenerator in order to let the specific generator chose the
local installation directory for each component.
Diffstat (limited to 'Source/CPack/cmCPackRPMGenerator.h')
-rw-r--r-- | Source/CPack/cmCPackRPMGenerator.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Source/CPack/cmCPackRPMGenerator.h b/Source/CPack/cmCPackRPMGenerator.h index 57d5cca..7c2e434 100644 --- a/Source/CPack/cmCPackRPMGenerator.h +++ b/Source/CPack/cmCPackRPMGenerator.h @@ -38,8 +38,21 @@ public: protected: virtual int InitializeInternal(); virtual int PackageFiles(); + /** + * 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 const char* GetOutputExtension() { return ".rpm"; } virtual bool SupportsComponentInstallation() const; + virtual std::string GetComponentInstallDirNameSuffix( + const std::string& componentName); }; |