summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_GLOBAL_AUTOGEN_TARGET.rst
diff options
context:
space:
mode:
authorOrkun Tokdemir <ilhanorkuntokdemir@gmail.com>2024-02-06 15:46:01 (GMT)
committerBrad King <brad.king@kitware.com>2024-02-08 14:16:37 (GMT)
commitccaf529c4ead74b514e694af97084871bb6bee90 (patch)
treef9234e4e8241bd7854ad61879121706166959e7c /Help/variable/CMAKE_GLOBAL_AUTOGEN_TARGET.rst
parent16cc011fa56adae8946916fa457c5a833765002c (diff)
downloadCMake-ccaf529c4ead74b514e694af97084871bb6bee90.zip
CMake-ccaf529c4ead74b514e694af97084871bb6bee90.tar.gz
CMake-ccaf529c4ead74b514e694af97084871bb6bee90.tar.bz2
Autogen: Update Documentation
* Add Qt 6 to documentation * Add explanation about `<ORIGIN>_autogen_timestamp_deps` Fixes: #25201
Diffstat (limited to 'Help/variable/CMAKE_GLOBAL_AUTOGEN_TARGET.rst')
-rw-r--r--Help/variable/CMAKE_GLOBAL_AUTOGEN_TARGET.rst13
1 files changed, 6 insertions, 7 deletions
diff --git a/Help/variable/CMAKE_GLOBAL_AUTOGEN_TARGET.rst b/Help/variable/CMAKE_GLOBAL_AUTOGEN_TARGET.rst
index 7d3f9c3..2bf5f05 100644
--- a/Help/variable/CMAKE_GLOBAL_AUTOGEN_TARGET.rst
+++ b/Help/variable/CMAKE_GLOBAL_AUTOGEN_TARGET.rst
@@ -7,7 +7,7 @@ Switch to enable generation of a global ``autogen`` target.
When ``CMAKE_GLOBAL_AUTOGEN_TARGET`` is enabled, a custom target
``autogen`` is generated. This target depends on all :prop_tgt:`AUTOMOC` and
-:prop_tgt:`AUTOUIC` generated ``<ORIGIN>_autogen`` targets in the project.
+:prop_tgt:`AUTOUIC` generated :ref:`<ORIGIN>_autogen` targets in the project.
By building the global ``autogen`` target, all :prop_tgt:`AUTOMOC` and
:prop_tgt:`AUTOUIC` files in the project will be generated.
@@ -19,10 +19,9 @@ By default ``CMAKE_GLOBAL_AUTOGEN_TARGET`` is unset.
See the :manual:`cmake-qt(7)` manual for more information on using CMake
with Qt.
-Note
-^^^^
+.. note::
-``<ORIGIN>_autogen`` targets by default inherit their origin target's
-dependencies. This might result in unintended dependency target
-builds when only ``<ORIGIN>_autogen`` targets are built. A solution is to
-disable :prop_tgt:`AUTOGEN_ORIGIN_DEPENDS` on the respective origin targets.
+ :ref:`<ORIGIN>_autogen` targets by default inherit their origin target's
+ dependencies. This might result in unintended dependency target builds when
+ only :ref:`<ORIGIN>_autogen` targets are built. A solution is to disable
+ :prop_tgt:`AUTOGEN_ORIGIN_DEPENDS` on the respective origin targets.