summaryrefslogtreecommitdiff
path: root/share/cmake-3.10/Help/prop_tgt/AUTOGEN_TARGET_DEPENDS.rst
diff options
context:
space:
mode:
Diffstat (limited to 'share/cmake-3.10/Help/prop_tgt/AUTOGEN_TARGET_DEPENDS.rst')
-rw-r--r--share/cmake-3.10/Help/prop_tgt/AUTOGEN_TARGET_DEPENDS.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/share/cmake-3.10/Help/prop_tgt/AUTOGEN_TARGET_DEPENDS.rst b/share/cmake-3.10/Help/prop_tgt/AUTOGEN_TARGET_DEPENDS.rst
new file mode 100644
index 0000000..f522c6b
--- /dev/null
+++ b/share/cmake-3.10/Help/prop_tgt/AUTOGEN_TARGET_DEPENDS.rst
@@ -0,0 +1,17 @@
+AUTOGEN_TARGET_DEPENDS
+----------------------
+
+Target dependencies of the corresponding ``_autogen`` target.
+
+Targets which have their :prop_tgt:`AUTOMOC` target ``ON`` have a
+corresponding ``_autogen`` target which is used to autogenerate generate moc
+files. As this ``_autogen`` target is created at generate-time, it is not
+possible to define dependencies of it, such as to create inputs for the ``moc``
+executable.
+
+The ``AUTOGEN_TARGET_DEPENDS`` target property can be set instead to a list of
+dependencies for the ``_autogen`` target. The buildsystem will be generated to
+depend on its contents.
+
+See the :manual:`cmake-qt(7)` manual for more information on using CMake
+with Qt.