summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackNSISGenerator.h
diff options
context:
space:
mode:
authorRoman Wüger <roman.wueger@gmx.at>2016-09-23 07:28:35 (GMT)
committerBrad King <brad.king@kitware.com>2016-09-26 13:01:59 (GMT)
commit06dea230ae7bb082a4b8fd38226791d0025792a8 (patch)
treeb2c9e254b0c211a0bb502614c555baa76f47806b /Source/CPack/cmCPackNSISGenerator.h
parentd0a27ae998e5ff313937f346b53d672c6353bd74 (diff)
downloadCMake-06dea230ae7bb082a4b8fd38226791d0025792a8.zip
CMake-06dea230ae7bb082a4b8fd38226791d0025792a8.tar.gz
CMake-06dea230ae7bb082a4b8fd38226791d0025792a8.tar.bz2
CPack/NSIS: Add custom component install directory
Diffstat (limited to 'Source/CPack/cmCPackNSISGenerator.h')
-rw-r--r--Source/CPack/cmCPackNSISGenerator.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/CPack/cmCPackNSISGenerator.h b/Source/CPack/cmCPackNSISGenerator.h
index ae03e6b..bd7d752 100644
--- a/Source/CPack/cmCPackNSISGenerator.h
+++ b/Source/CPack/cmCPackNSISGenerator.h
@@ -84,6 +84,11 @@ protected:
std::string CreateComponentGroupDescription(cmCPackComponentGroup* group,
std::ostream& macrosOut);
+ /// Returns the custom install directory if available for the specified
+ /// component, otherwise $INSTDIR is returned.
+ std::string CustomComponentInstallDirectory(
+ const std::string& componentName);
+
/// Translations any newlines found in the string into \\r\\n, so that the
/// resulting string can be used within NSIS.
static std::string TranslateNewlines(std::string str);