summaryrefslogtreecommitdiffstats
path: root/Source/CPack/IFW/cmCPackIFWInstaller.h
diff options
context:
space:
mode:
authorJean-Philippe Lebel <Jean-Philippe Lebel jp@lebel.pro>2016-11-22 22:56:18 (GMT)
committerJean-Philippe Lebel <Jean-Philippe Lebel jp@lebel.pro>2017-12-15 18:24:58 (GMT)
commit739ae1d090094eea6fc545d4d1567b7db9f9683c (patch)
tree0376d8f0efcf25db6b835c60895668c47515ac6a /Source/CPack/IFW/cmCPackIFWInstaller.h
parentbd10c3cf82f6e9d58b121498eaa2b9d8cc19dd2f (diff)
downloadCMake-739ae1d090094eea6fc545d4d1567b7db9f9683c.zip
CMake-739ae1d090094eea6fc545d4d1567b7db9f9683c.tar.gz
CMake-739ae1d090094eea6fc545d4d1567b7db9f9683c.tar.bz2
CPack/IFW: Add option to control deletion of the install directory
Added support for QT IFW "RemoveTargetDir" boolean option. QTIFW supports an option to prevent, or not, deletion of the installation directory. This is a direct pass-through to that variable.
Diffstat (limited to 'Source/CPack/IFW/cmCPackIFWInstaller.h')
-rw-r--r--Source/CPack/IFW/cmCPackIFWInstaller.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/CPack/IFW/cmCPackIFWInstaller.h b/Source/CPack/IFW/cmCPackIFWInstaller.h
index b635f42..37ad339 100644
--- a/Source/CPack/IFW/cmCPackIFWInstaller.h
+++ b/Source/CPack/IFW/cmCPackIFWInstaller.h
@@ -99,6 +99,10 @@ public:
/// Set to true if the installation path can contain non-ASCII characters
std::string AllowNonAsciiCharacters;
+ /// Set to false if the target directory should not be deleted when
+ /// uninstalling
+ std::string RemoveTargetDir;
+
/// Set to false if the installation path cannot contain space characters
std::string AllowSpaceInPath;