summaryrefslogtreecommitdiffstats
path: root/Source/CPack/WiX/cmCPackWIXGenerator.h
diff options
context:
space:
mode:
authorNils Gladitz <nilsgladitz@gmail.com>2013-11-10 18:48:29 (GMT)
committerBrad King <brad.king@kitware.com>2013-11-12 19:10:01 (GMT)
commit096591b96a0fb8cac2b330bc727c96ff90fa8d97 (patch)
treea20ac4716e35fc2a9c07284d09af810ed8c352cc /Source/CPack/WiX/cmCPackWIXGenerator.h
parent6f2ec6450429661356e7153a59b4c6cae5d5f285 (diff)
downloadCMake-096591b96a0fb8cac2b330bc727c96ff90fa8d97.zip
CMake-096591b96a0fb8cac2b330bc727c96ff90fa8d97.tar.gz
CMake-096591b96a0fb8cac2b330bc727c96ff90fa8d97.tar.bz2
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