summaryrefslogtreecommitdiffstats
path: root/Help/release
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-02-19 17:35:40 (GMT)
committerBrad King <brad.king@kitware.com>2017-02-21 15:38:51 (GMT)
commitcdb72127dcd281fdce8e349118d7de717b7154b2 (patch)
treeee4b4b04260439b84d4076b5dae7f00960c8621a /Help/release
parent8b13a52c4964b09f663e462af7882cbd01b8202a (diff)
downloadCMake-cdb72127dcd281fdce8e349118d7de717b7154b2.zip
CMake-cdb72127dcd281fdce8e349118d7de717b7154b2.tar.gz
CMake-cdb72127dcd281fdce8e349118d7de717b7154b2.tar.bz2
Autogen: Add release notes for Q_PLUGIN_METADATA support
Diffstat (limited to 'Help/release')
-rw-r--r--Help/release/dev/Autogen_json.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/Help/release/dev/Autogen_json.rst b/Help/release/dev/Autogen_json.rst
new file mode 100644
index 0000000..73bbdf1
--- /dev/null
+++ b/Help/release/dev/Autogen_json.rst
@@ -0,0 +1,10 @@
+AutoGen json
+------------
+
+* When using :prop_tgt:`AUTOMOC`, CMake scans for the presence of the
+ ``Q_PLUGIN_METADATA`` macro and reruns moc when the file from the
+ macro's ``FILE`` argument changes.
+
+* When :prop_tgt:`AUTOMOC` detects an include statement of the form
+ ``#include "moc_<basename>.cpp"`` the respective header file is searched
+ for in the :prop_tgt:`INCLUDE_DIRECTORIES` of the target as well.