summaryrefslogtreecommitdiffstats
path: root/Help/manual/cmake-qt.7.rst
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-08-18 11:58:14 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2017-08-18 11:58:14 (GMT)
commit7529d84facc8c5b3ddfc916c20c5998d6aa9acaf (patch)
treec5189919b902e809a0dcbbc21878912c0db11777 /Help/manual/cmake-qt.7.rst
parent05891d8f774cc2ac3fea44f6f320dcdc2e1d95e2 (diff)
downloadCMake-7529d84facc8c5b3ddfc916c20c5998d6aa9acaf.zip
CMake-7529d84facc8c5b3ddfc916c20c5998d6aa9acaf.tar.gz
CMake-7529d84facc8c5b3ddfc916c20c5998d6aa9acaf.tar.bz2
Autogen: Add documentation for AUTOMOC_MACRO_NAMES
Diffstat (limited to 'Help/manual/cmake-qt.7.rst')
-rw-r--r--Help/manual/cmake-qt.7.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/manual/cmake-qt.7.rst b/Help/manual/cmake-qt.7.rst
index e345cd2..55121df 100644
--- a/Help/manual/cmake-qt.7.rst
+++ b/Help/manual/cmake-qt.7.rst
@@ -95,6 +95,10 @@ following targets by setting the :variable:`CMAKE_AUTOMOC` variable. The
options to pass to ``moc``. The :variable:`CMAKE_AUTOMOC_MOC_OPTIONS`
variable may be populated to pre-set the options for all following targets.
+The appearance of the strings ``Q_OBJECT`` or ``Q_GADGET`` in a source file
+determines if it needs to be ``moc`` processed. To search for additional
+strings, list them in :prop_tgt:`AUTOMOC_MACRO_NAMES`.
+
Additional ``moc`` dependency file names can be extracted from source code
by using :prop_tgt:`AUTOMOC_DEPEND_FILTERS`.