Make _autogen target dependency generation more flexible
The list of dependencies for the _autogen target generated by AUTOMOC and AUTOUIC is composed of
- all origin target dependencies
- AUTOGEN_TARGET_DEPENDS
Only AUTOGEN_TARGET_DEPENDS is configurable by the user, whereas the inheritance of the origin target dependencies is not.
We need an option to enable/disable the origin target dependencies inheritance (e.g. (CMAKE_)AUTOGEN_ORIGIN_DEPENDS
with a true default value)
Edited by Sebastian Holtermann