summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackGenerator.h
diff options
context:
space:
mode:
authorEric NOULARD <eric.noulard@gmail.com>2011-02-22 22:49:49 (GMT)
committerEric NOULARD <eric.noulard@gmail.com>2011-02-22 22:49:49 (GMT)
commit4deb308e82b8f9e56ce41eba211f330ff66902a3 (patch)
tree2c502c55b9eb04976fd926e98e1744999cd5ec92 /Source/CPack/cmCPackGenerator.h
parent8c450f6287e45fa737de7d09a4f29ee7f4fdc9dd (diff)
downloadCMake-4deb308e82b8f9e56ce41eba211f330ff66902a3.zip
CMake-4deb308e82b8f9e56ce41eba211f330ff66902a3.tar.gz
CMake-4deb308e82b8f9e56ce41eba211f330ff66902a3.tar.bz2
CPack Authorize DISPLAY_NAME usage in component package
Second (last) part fix of feature request #11814
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 d4b1b16..0497d1c 100644
--- a/Source/CPack/cmCPackGenerator.h
+++ b/Source/CPack/cmCPackGenerator.h
@@ -145,6 +145,19 @@ protected:
const std::string& componentName);
/**
+ * CPack specific generator may mangle CPACK_PACKAGE_FILE_NAME
+ * with CPACK_COMPONENT_xxxx_<NAME>_DISPLAY_NAME if
+ * CPACK_<GEN>_USE_DISPLAY_NAME_IN_FILENAME is ON.
+ * @param[in] initialPackageFileName
+ * @param[in] groupOrComponentName
+ * @param[in] isGroupName
+ */
+ virtual std::string GetComponentPackageFileName(
+ const std::string& initialPackageFileName,
+ const std::string& groupOrComponentName,
+ bool isGroupName);
+
+ /**
* Package the list of files and/or components which
* has been prepared by the beginning of DoPackage.
* @pre @ref toplevel has been filled-in