summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-02-22 19:32:36 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2011-02-22 19:32:36 (GMT)
commit5239fb0dfe5037787098e7b57af74f979c7cae84 (patch)
treeaa88e67b2ac66bf0c65325cef4f248d7b50e5b19 /Source/CPack/cmCPackGenerator.h
parent67c542a3cca8eed7e3c5994e1678f1d51365bc37 (diff)
parent0cf1d72e3c1be9218f4dc0d1dcc0aaf03f160684 (diff)
downloadCMake-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.h13
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