summaryrefslogtreecommitdiffstats
path: root/Help/release
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-09-15 12:52:12 (GMT)
committerBrad King <brad.king@kitware.com>2020-09-15 12:52:12 (GMT)
commitd90645b78894e3902b272ca579692f21607241df (patch)
treeef9da2082560061707ee656f57f97211936034c8 /Help/release
parent2d661d9ddd0e3bbb52cba990e1afae52edbf06ad (diff)
parent43ddc6403227cc749916d47dd9f6c634f1aa4cc1 (diff)
downloadCMake-d90645b78894e3902b272ca579692f21607241df.zip
CMake-d90645b78894e3902b272ca579692f21607241df.tar.gz
CMake-d90645b78894e3902b272ca579692f21607241df.tar.bz2
Merge branch 'release-3.16' into master
Diffstat (limited to 'Help/release')
-rw-r--r--Help/release/3.16.rst16
1 files changed, 11 insertions, 5 deletions
diff --git a/Help/release/3.16.rst b/Help/release/3.16.rst
index f3fdb08..84d96cd 100644
--- a/Help/release/3.16.rst
+++ b/Help/release/3.16.rst
@@ -178,17 +178,15 @@ Modules
Autogen
-------
-* When using :prop_tgt:`AUTOMOC`, CMake now generates the ``-p`` path prefix
+* When using :prop_tgt:`AUTOMOC`, the new :variable:`CMAKE_AUTOMOC_PATH_PREFIX`
+ variable or :prop_tgt:`AUTOMOC_PATH_PREFIX` target property may be enabled
+ to generate the ``-p`` path prefix
option for ``moc``. This ensures that ``moc`` output files are identical
on different build setups (given, that the headers compiled by ``moc`` are
in an :command:`include directory <target_include_directories>`).
Also it ensures that ``moc`` output files will compile correctly when the
source and/or build directory is a symbolic link.
- The ``moc`` path prefix generation behavior can be configured by setting
- the new :variable:`CMAKE_AUTOMOC_PATH_PREFIX` variable and/or
- :prop_tgt:`AUTOMOC_PATH_PREFIX` target property.
-
CTest
-----
@@ -316,3 +314,11 @@ Changes made since CMake 3.16.0 include the following.
:prop_tgt:`INTERFACE_INCLUDE_DIRECTORIES` target properties.
Previously they would be places in ``*_CFLAGS_OTHER`` variables and
:prop_tgt:`INTERFACE_COMPILE_OPTIONS` target properties.
+
+3.16.9
+------
+
+* The default value of :variable:`CMAKE_AUTOMOC_PATH_PREFIX` was changed to
+ ``OFF`` because this feature can break existing projects that have
+ identically named header files in different include directories.
+ This restores compatibility with behavior of CMake 3.15 and below.