summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2017-10-07 07:01:23 (GMT)
committerCraig Scott <craig.scott@crascit.com>2017-10-07 07:01:23 (GMT)
commitb8010bda3fbf3d80f6ef450383ff7bbfe5a2906b (patch)
tree5da14f2b3ff20ad542fe41f2b4549ff07be91415
parent7a31da43b1b598a255bf5261f7dff66e5aa71dd0 (diff)
downloadCMake-b8010bda3fbf3d80f6ef450383ff7bbfe5a2906b.zip
CMake-b8010bda3fbf3d80f6ef450383ff7bbfe5a2906b.tar.gz
CMake-b8010bda3fbf3d80f6ef450383ff7bbfe5a2906b.tar.bz2
Help: Fix Example appearing in target property list of contents
-rw-r--r--Help/prop_tgt/AUTOMOC_DEPEND_FILTERS.rst2
-rw-r--r--Help/prop_tgt/AUTOMOC_MACRO_NAMES.rst3
2 files changed, 3 insertions, 2 deletions
diff --git a/Help/prop_tgt/AUTOMOC_DEPEND_FILTERS.rst b/Help/prop_tgt/AUTOMOC_DEPEND_FILTERS.rst
index 810cbf4..b738ecf 100644
--- a/Help/prop_tgt/AUTOMOC_DEPEND_FILTERS.rst
+++ b/Help/prop_tgt/AUTOMOC_DEPEND_FILTERS.rst
@@ -25,7 +25,7 @@ with Qt.
Example
--------
+^^^^^^^
Consider a file ``FOO.hpp`` holds a custom macro ``OBJ_JSON_FILE`` and we
want the ``moc`` file to depend on the macro`s file name argument::
diff --git a/Help/prop_tgt/AUTOMOC_MACRO_NAMES.rst b/Help/prop_tgt/AUTOMOC_MACRO_NAMES.rst
index 0535fde..a5ad9d5 100644
--- a/Help/prop_tgt/AUTOMOC_MACRO_NAMES.rst
+++ b/Help/prop_tgt/AUTOMOC_MACRO_NAMES.rst
@@ -23,7 +23,8 @@ See the :manual:`cmake-qt(7)` manual for more information on using CMake
with Qt.
Example
--------
+^^^^^^^
+
In this case the the ``Q_OBJECT`` macro is hidden inside an other macro
called ``CUSTOM_MACRO``. To let CMake know that source files, that contain
``CUSTOM_MACRO``, need to be ``moc`` processed, we call::