summaryrefslogtreecommitdiffstats
path: root/Help/release
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-08-21 13:02:06 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-08-21 13:02:09 (GMT)
commitab5667b516f3a67349437b4ca662a70d1edf5913 (patch)
treeb15cd4c7f84a254cd77905ea9c4976e03aae01d1 /Help/release
parentfabb217502b027ccab3e44cae4ed7a718a6eea81 (diff)
parentb3d98c6ec2c966b316ffeec257a249e8355ce005 (diff)
downloadCMake-ab5667b516f3a67349437b4ca662a70d1edf5913.zip
CMake-ab5667b516f3a67349437b4ca662a70d1edf5913.tar.gz
CMake-ab5667b516f3a67349437b4ca662a70d1edf5913.tar.bz2
Merge topic 'autogen-macro-names'
b3d98c6e Autogen: Add release notes for AUTOMOC_MACRO_NAMES 7529d84f Autogen: Add documentation for AUTOMOC_MACRO_NAMES 05891d8f Autogen: Add test for AUTOMOC_MACRO_NAMES 93f0ba28 Autogen: Add AUTOMOC_MACRO_NAMES support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1156
Diffstat (limited to 'Help/release')
-rw-r--r--Help/release/dev/autogen-macro-names.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/Help/release/dev/autogen-macro-names.rst b/Help/release/dev/autogen-macro-names.rst
new file mode 100644
index 0000000..736dd3a
--- /dev/null
+++ b/Help/release/dev/autogen-macro-names.rst
@@ -0,0 +1,12 @@
+autogen-macro-names
+-------------------
+
+* When using :prop_tgt:`AUTOMOC`, CMake searches for the strings ``Q_OBJECT``
+ and ``Q_OBJECT`` in a source file to determine if it needs to be ``moc``
+ processed. The new variable :variable:`CMAKE_AUTOMOC_MACRO_NAMES` allows to
+ register additional strings (macro names) so search for.
+
+* When using :prop_tgt:`AUTOMOC`, CMake searches for the strings ``Q_OBJECT``
+ and ``Q_OBJECT`` in a source file to determine if it needs to be ``moc``
+ processed. The new target property :prop_tgt:`AUTOMOC_MACRO_NAMES` allows to
+ register additional strings (macro names) so search for.