diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2019-09-14 08:18:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-09-18 15:48:23 (GMT) |
commit | cc0900d9cd5fe1fa224d48738965b2928c09f6e7 (patch) | |
tree | 92b1d8191aabec92e6201533dc2694283013b7d8 /Help | |
parent | 692d8e34927e43a01a799fa5593db8b50a3c0e3a (diff) | |
download | CMake-cc0900d9cd5fe1fa224d48738965b2928c09f6e7.zip CMake-cc0900d9cd5fe1fa224d48738965b2928c09f6e7.tar.gz CMake-cc0900d9cd5fe1fa224d48738965b2928c09f6e7.tar.bz2 |
Help: Add release notes for AUTOMOC_PATH_PREFIX
Diffstat (limited to 'Help')
-rw-r--r-- | Help/release/dev/automoc_path_prefix.rst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Help/release/dev/automoc_path_prefix.rst b/Help/release/dev/automoc_path_prefix.rst new file mode 100644 index 0000000..bee1b32 --- /dev/null +++ b/Help/release/dev/automoc_path_prefix.rst @@ -0,0 +1,13 @@ +automoc_path_prefix +------------------- + +* When using :prop_tgt:`AUTOMOC`, CMake now generates 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. |