mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-08 06:40:48 -06:00
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
This commit is contained in:
@@ -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::
|
||||
|
||||
@@ -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::
|
||||
|
||||
Reference in New Issue
Block a user