summaryrefslogtreecommitdiffstats
path: root/Help/release
diff options
context:
space:
mode:
authorRoman Donchenko <dpb@corrigendum.ru>2015-09-20 21:39:03 (GMT)
committerDomen Vrankar <domen.vrankar@gmail.com>2015-09-20 21:39:03 (GMT)
commitbc2e54db5516ed884f0affe020e52256f0c8b3d5 (patch)
tree997e1a68a082bf6f72cc4e4a4c6e4fc1f1514cfb /Help/release
parentba7f7067cafe187d5f95b87c959751cdf1a8b0b6 (diff)
downloadCMake-bc2e54db5516ed884f0affe020e52256f0c8b3d5.zip
CMake-bc2e54db5516ed884f0affe020e52256f0c8b3d5.tar.gz
CMake-bc2e54db5516ed884f0affe020e52256f0c8b3d5.tar.bz2
Introduction of CPACK_VERBATIM_VARIABLES variable
If variable is set to TRUE, values of all variables prefixed with CPACK_ will be escaped so special characters such as dolar sign, quotes or foreward slash will not be lost. By default variable is treated as set to FALSE for back compatibility. The cpack_encode_variables macro is changed into a function to remove scope pollution. There should be no other effects.
Diffstat (limited to 'Help/release')
-rw-r--r--Help/release/dev/CPack-updates.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/release/dev/CPack-updates.rst b/Help/release/dev/CPack-updates.rst
index 7ac1ed7..ea0780f 100644
--- a/Help/release/dev/CPack-updates.rst
+++ b/Help/release/dev/CPack-updates.rst
@@ -4,3 +4,8 @@ CPack-updates
* The :module:`CPack` module no longer mangles settings with CMake-special
characters when they're used as defaults for other settings. The macro
``cpack_set_if_not_set``, which was responsible for this, is now deprecated.
+
+* The :module:`CPack` module gained a new setting, ``CPACK_VERBATIM_VARIABLES``,
+ which can be used to ensure the cpack program receives the settings' values
+ exactly as they were set, even if they contain CMake-special characters.
+ For compatibility, it's off by default.