2014-08-03 19:52:23 +02:00
|
|
|
AUTOGEN_TARGET_DEPENDS
|
|
|
|
----------------------
|
|
|
|
|
2017-04-14 19:02:05 +02:00
|
|
|
Target dependencies of the corresponding ``_autogen`` target.
|
2014-08-03 19:52:23 +02:00
|
|
|
|
|
|
|
Targets which have their :prop_tgt:`AUTOMOC` target ``ON`` have a
|
2017-04-14 19:02:05 +02:00
|
|
|
corresponding ``_autogen`` target which is used to autogenerate generate moc
|
|
|
|
files. As this ``_autogen`` target is created at generate-time, it is not
|
2014-08-03 19:52:23 +02:00
|
|
|
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
|
2017-04-14 19:02:05 +02:00
|
|
|
dependencies for the ``_autogen`` target. The buildsystem will be generated to
|
2014-08-03 19:52:23 +02:00
|
|
|
depend on its contents.
|
|
|
|
|
|
|
|
See the :manual:`cmake-qt(7)` manual for more information on using CMake
|
|
|
|
with Qt.
|