summaryrefslogtreecommitdiffstats
path: root/Source/CPack/WiX/cmCPackWIXGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-11-13 14:56:30 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-11-13 14:56:30 (GMT)
commit3822f5bcacf5076d8c1832e2dae57b47c1247f56 (patch)
treecb9dd15fc3607e8f21fed8b5ea31d2cec9786549 /Source/CPack/WiX/cmCPackWIXGenerator.h
parent11fe43422fe046d966dda8ae513b2b0af4377503 (diff)
parent096591b96a0fb8cac2b330bc727c96ff90fa8d97 (diff)
downloadCMake-3822f5bcacf5076d8c1832e2dae57b47c1247f56.zip
CMake-3822f5bcacf5076d8c1832e2dae57b47c1247f56.tar.gz
CMake-3822f5bcacf5076d8c1832e2dae57b47c1247f56.tar.bz2
Merge topic 'wix-custom-arguments'
096591b CPackWiX: Add variables for custom tool extensions and flags
Diffstat (limited to 'Source/CPack/WiX/cmCPackWIXGenerator.h')
-rw-r--r--Source/CPack/WiX/cmCPackWIXGenerator.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/CPack/WiX/cmCPackWIXGenerator.h b/Source/CPack/WiX/cmCPackWIXGenerator.h
index c96ad5a..481a07d 100644
--- a/Source/CPack/WiX/cmCPackWIXGenerator.h
+++ b/Source/CPack/WiX/cmCPackWIXGenerator.h
@@ -63,6 +63,7 @@ private:
typedef std::map<std::string, std::string> id_map_t;
typedef std::map<std::string, size_t> ambiguity_map_t;
typedef std::map<std::string, cmWIXShortcut> shortcut_map_t;
+ typedef std::set<std::string> extension_set_t;
bool InitializeWiXConfiguration();
@@ -129,10 +130,19 @@ private:
static bool IsLegalIdCharacter(char c);
+ void CollectExtensions(
+ const std::string& variableName, extension_set_t& extensions);
+
+ void AddCustomFlags(
+ const std::string& variableName, std::ostream& stream);
+
std::vector<std::string> wixSources;
id_map_t pathToIdMap;
ambiguity_map_t idAmbiguityCounter;
shortcut_map_t shortcutMap;
+
+ extension_set_t candleExtensions;
+ extension_set_t lightExtensions;
};
#endif