summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt/AUTOGEN_TARGET_DEPENDS.rst
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-11-18 07:09:56 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-11-25 21:41:21 (GMT)
commit1320e0768e57754b51294a00480927d50176bf02 (patch)
treeec1847962c1a9562a67056bc63cbab8ee6cb1c00 /Help/prop_tgt/AUTOGEN_TARGET_DEPENDS.rst
parentda6b86f4f031b189768dc474721145a1b99f71ea (diff)
downloadCMake-1320e0768e57754b51294a00480927d50176bf02.zip
CMake-1320e0768e57754b51294a00480927d50176bf02.tar.gz
CMake-1320e0768e57754b51294a00480927d50176bf02.tar.bz2
cmQtAutogen: Allow specifying depends for autogen targets.
Test this by generating files with a custom target, which moc requires to be present when it is run.
Diffstat (limited to 'Help/prop_tgt/AUTOGEN_TARGET_DEPENDS.rst')
-rw-r--r--Help/prop_tgt/AUTOGEN_TARGET_DEPENDS.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/Help/prop_tgt/AUTOGEN_TARGET_DEPENDS.rst b/Help/prop_tgt/AUTOGEN_TARGET_DEPENDS.rst
new file mode 100644
index 0000000..006c83a
--- /dev/null
+++ b/Help/prop_tgt/AUTOGEN_TARGET_DEPENDS.rst
@@ -0,0 +1,14 @@
+AUTOGEN_TARGET_DEPENDS
+----------------------
+
+Target dependencies of the corresponding ``_automoc`` target.
+
+Targets which have their :prop_tgt:`AUTOMOC` target set to true have a
+corresponding ``_automoc`` target which is used to autogenerate generate moc
+files. As this ``_automoc`` 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 can be set instead to a list of dependencies
+for the ``_automoc`` target. The buildsystem will be generated to depend on its
+contents.