CMAKE_AUTOGEN_ORIGIN_DEPENDS

在 3.14 版被加入.

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

備註

If Qt 5.15 or later is used and the generator is either Ninja or Makefile 生成器, additional target dependencies are added to the <ORIGIN>_autogen_timestamp_deps target instead of the <ORIGIN>_autogen target.

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.