CMAKE_AUTOGEN_ORIGIN_DEPENDS — CMake 4.4.3-dirty Documentation

# CMAKE_AUTOGEN_ORIGIN_DEPENDS

Added in version 3.14.

Switch for forwarding origin target dependencies to the corresponding <ORIGIN>_autogen targets.

> Note

> If the <ORIGIN>_autogen_timestamp_deps target is created, additional target dependencies are added to it instead of the <ORIGIN>_autogen target. When using the Visual Studio Generators, the `moc` and `uic` step may be part of the `<ORIGIN>` target itself, in which case the dependencies are added to `<ORIGIN>`. See the `cmake-qt(7)` manual for details.

This variable is used to initialize the `AUTOGEN_ORIGIN_DEPENDS` property on all the targets. See that target property for additional information.

By default `CMAKE_AUTOGEN_ORIGIN_DEPENDS` is `ON`.