summaryrefslogtreecommitdiffstats
path: root/Source/CPack/WiX/cmWIXSourceWriter.h
diff options
context:
space:
mode:
authorNils Gladitz <nilsgladitz@gmail.com>2013-11-19 20:38:09 (GMT)
committerNils Gladitz <nilsgladitz@gmail.com>2013-11-26 21:15:57 (GMT)
commit7b390f75e82ad79f6759656c52825c89e5c92902 (patch)
treef02ef0344b42aee09438326adf4cd5b6bb116bde /Source/CPack/WiX/cmWIXSourceWriter.h
parent1da77bf1ee4f3ba315ebb00da2eaeac474614cad (diff)
downloadCMake-7b390f75e82ad79f6759656c52825c89e5c92902.zip
CMake-7b390f75e82ad79f6759656c52825c89e5c92902.tar.gz
CMake-7b390f75e82ad79f6759656c52825c89e5c92902.tar.bz2
CPackWiX: add CPack component support
Creates a hierarchy of WiX features from CPack components and component groups. Switch to the FeatureTree UI in case components have been defined. Handles the component REQUIRE and HIDDEN options and the component group EXPANDED option.
Diffstat (limited to 'Source/CPack/WiX/cmWIXSourceWriter.h')
-rw-r--r--Source/CPack/WiX/cmWIXSourceWriter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/CPack/WiX/cmWIXSourceWriter.h b/Source/CPack/WiX/cmWIXSourceWriter.h
index 0c7803c..670d4c0 100644
--- a/Source/CPack/WiX/cmWIXSourceWriter.h
+++ b/Source/CPack/WiX/cmWIXSourceWriter.h
@@ -40,6 +40,9 @@ public:
void AddAttribute(
const std::string& key, const std::string& value);
+ void AddAttributeUnlessEmpty(
+ const std::string& key, const std::string& value);
+
static std::string WindowsCodepageToUtf8(const std::string& value);
private: