summaryrefslogtreecommitdiffstats
path: root/Tests/CPackWiXGenerator/patch.xml
diff options
context:
space:
mode:
authorNils Gladitz <nilsgladitz@gmail.com>2013-12-16 21:30:11 (GMT)
committerNils Gladitz <nilsgladitz@gmail.com>2013-12-17 13:14:42 (GMT)
commit8632233a2fc0e27106977a820b6b439e72b45383 (patch)
treea36fbcaf798523e37ac538ea29480b4684bd4798 /Tests/CPackWiXGenerator/patch.xml
parentb4fdbba55ad857a803a0d2e6c1f0b2bff10f4b51 (diff)
downloadCMake-8632233a2fc0e27106977a820b6b439e72b45383.zip
CMake-8632233a2fc0e27106977a820b6b439e72b45383.tar.gz
CMake-8632233a2fc0e27106977a820b6b439e72b45383.tar.bz2
CPackWiX: allow customization of generated WiX sources
Added a new variable CPACK_WIX_PATCH_FILE that users can point at an XML patch file. Fragments defined within the patch file will be inserted at supported insertion points (currently Component, File and Directory).
Diffstat (limited to 'Tests/CPackWiXGenerator/patch.xml')
-rw-r--r--Tests/CPackWiXGenerator/patch.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/CPackWiXGenerator/patch.xml b/Tests/CPackWiXGenerator/patch.xml
new file mode 100644
index 0000000..13c392d
--- /dev/null
+++ b/Tests/CPackWiXGenerator/patch.xml
@@ -0,0 +1,7 @@
+<CPackWiXPatch>
+ <CPackWiXFragment Id="CM_CP_applications.bin.my_libapp.exe">
+ <Environment Id="MyEnvironment" Action="set"
+ Name="CPackWiXGeneratorTest"
+ Value="CPackWiXGeneratorTest"/>
+ </CPackWiXFragment>
+</CPackWiXPatch>