diff options
author | Brad King <brad.king@kitware.com> | 2011-02-22 19:32:36 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2011-02-22 19:32:36 (GMT) |
commit | 5239fb0dfe5037787098e7b57af74f979c7cae84 (patch) | |
tree | aa88e67b2ac66bf0c65325cef4f248d7b50e5b19 /Source/CPack/cmCPackGenerator.h | |
parent | 67c542a3cca8eed7e3c5994e1678f1d51365bc37 (diff) | |
parent | 0cf1d72e3c1be9218f4dc0d1dcc0aaf03f160684 (diff) | |
download | CMake-5239fb0dfe5037787098e7b57af74f979c7cae84.zip CMake-5239fb0dfe5037787098e7b57af74f979c7cae84.tar.gz CMake-5239fb0dfe5037787098e7b57af74f979c7cae84.tar.bz2 |
Merge topic 'CPackRPM-HonorAllComponentWays'
0cf1d72 CPackRPM fix IRIX compiler warning (variable never used)
494bb8a CPackRPM honors all the different ways of packaging components
Diffstat (limited to 'Source/CPack/cmCPackGenerator.h')
-rw-r--r-- | Source/CPack/cmCPackGenerator.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Source/CPack/cmCPackGenerator.h b/Source/CPack/cmCPackGenerator.h index f44a334..d4b1b16 100644 --- a/Source/CPack/cmCPackGenerator.h +++ b/Source/CPack/cmCPackGenerator.h @@ -132,6 +132,19 @@ protected: virtual int PrepareGroupingKind(); /** + * Some CPack generators may prefer to have + * CPack install all components belonging to the same + * [component] group to be install in the same directory. + * The default behavior is to install each component in + * a separate directory. + * @param[in] componentName the name of the component to be installed + * @return the name suffix the generator wants for the specified component + * default is "componentName" + */ + virtual std::string GetComponentInstallDirNameSuffix( + const std::string& componentName); + + /** * Package the list of files and/or components which * has been prepared by the beginning of DoPackage. * @pre @ref toplevel has been filled-in |