diff options
author | Brad King <brad.king@kitware.com> | 2013-12-19 15:13:47 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-12-19 15:13:47 (GMT) |
commit | eb20fab73673c6a3cbcc705c6d22a27ab54740d8 (patch) | |
tree | 1efd207038ab71a1400d82ac93d454de1e30309a /Tests | |
parent | 3b00ff84d2759567564fd81b9d28ea6b952ec22e (diff) | |
parent | 8632233a2fc0e27106977a820b6b439e72b45383 (diff) | |
download | CMake-eb20fab73673c6a3cbcc705c6d22a27ab54740d8.zip CMake-eb20fab73673c6a3cbcc705c6d22a27ab54740d8.tar.gz CMake-eb20fab73673c6a3cbcc705c6d22a27ab54740d8.tar.bz2 |
Merge topic 'wix-fragment-injection'
8632233 CPackWiX: allow customization of generated WiX sources
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/CPackWiXGenerator/CMakeLists.txt | 2 | ||||
-rw-r--r-- | Tests/CPackWiXGenerator/patch.xml | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/Tests/CPackWiXGenerator/CMakeLists.txt b/Tests/CPackWiXGenerator/CMakeLists.txt index ecfecdb..0b06045 100644 --- a/Tests/CPackWiXGenerator/CMakeLists.txt +++ b/Tests/CPackWiXGenerator/CMakeLists.txt @@ -49,6 +49,8 @@ set(CPACK_PACKAGE_EXECUTABLES "my-other-app" "Second CPack WiX Test" ) +set(CPACK_WIX_PATCH_FILE "${CMAKE_CURRENT_SOURCE_DIR}/patch.xml") + include(CPack) cpack_add_install_type(Full DISPLAY_NAME "Everything") 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> |