diff options
author | Brad King <brad.king@kitware.com> | 2017-10-10 13:02:13 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-10-10 13:02:22 (GMT) |
commit | 0a6dd27e86cf23e29f025da8553ed52cd4a4015c (patch) | |
tree | 8a803b8cea6ea7c4ff29f40fd20bedc96bb43e21 /Help | |
parent | dba09a3c217eddb087be5a6b61dbf5bc1e507b48 (diff) | |
parent | b8010bda3fbf3d80f6ef450383ff7bbfe5a2906b (diff) | |
download | CMake-0a6dd27e86cf23e29f025da8553ed52cd4a4015c.zip CMake-0a6dd27e86cf23e29f025da8553ed52cd4a4015c.tar.gz CMake-0a6dd27e86cf23e29f025da8553ed52cd4a4015c.tar.bz2 |
Merge topic 'target_properties_doc_cleanup'
b8010bda Help: Fix Example appearing in target property list of contents
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1361
Diffstat (limited to 'Help')
-rw-r--r-- | Help/prop_tgt/AUTOMOC_DEPEND_FILTERS.rst | 2 | ||||
-rw-r--r-- | Help/prop_tgt/AUTOMOC_MACRO_NAMES.rst | 3 |
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:: |