diff options
author | Roman Donchenko <dpb@corrigendum.ru> | 2015-09-09 20:21:07 (GMT) |
---|---|---|
committer | Domen Vrankar <domen.vrankar@gmail.com> | 2015-09-09 20:21:07 (GMT) |
commit | 2a7772ff4ca88319d65e025a49883ef2f2487aeb (patch) | |
tree | 17f4eb42c4c230d9a510f922f831110f5ef32929 /Help | |
parent | f281c6214ba932e5a5c9d8bae67313fc8bfa8ec9 (diff) | |
download | CMake-2a7772ff4ca88319d65e025a49883ef2f2487aeb.zip CMake-2a7772ff4ca88319d65e025a49883ef2f2487aeb.tar.gz CMake-2a7772ff4ca88319d65e025a49883ef2f2487aeb.tar.bz2 |
CPack: don't mangle CMake-special characters when applying default settings
Mangling is prevented by using a function instead of a macro for setting
default value of some CPack variables. Function is meant for internal use
in CPack.cmake only.
Old macro is deprecated but kept for backwards compatibility - was
intended for internal use only as it can't be used for CPack after
CPack.cmake script is included.
Patch removes local workarounds that were required by old macro,
fixes default setting of variables that by default inherit value from
another variable that already went through old default setting macro
(e.g. value of CPACK_PACKAGE_INSTALL_REGISTRY_KEY caused error for
wrong escapes if CPACK_PACKAGE_INSTALL_DIRECTORY contained escaped
back slashes) and provides a test for correct escaping of characters.
Diffstat (limited to 'Help')
-rw-r--r-- | Help/release/dev/CPack-updates.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Help/release/dev/CPack-updates.rst b/Help/release/dev/CPack-updates.rst new file mode 100644 index 0000000..7ac1ed7 --- /dev/null +++ b/Help/release/dev/CPack-updates.rst @@ -0,0 +1,6 @@ +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. |