Skip to content

Autogen: AUTO*_EXECUTABLE: add support for per-config values & Refactor dependency graph for Multi-Config Generators

  • Per-config values were added to AUTO*_EXECUTABLE.
  • Dependency order was refactored for cmake_autogen and cmake_autorcc to avoid unnecessary rebuilds.
  • A new parameter was added for cmake_autogen and cmake_autorcc to specify the config name of the auto*_executable to be used.
  • Add AUTOGEN_BETTER_GRAPH_MULTI_CONFIG target property to change the behavior of the dependency graph.
  • The timestamp target is split into three targets for per-config to avoid redundant mocs_compilation builds when AUTOGEN_BETTER_GRAPH_MULTI_CONFIG is ON
  • Per-config DEP_FILE_RULE_NAME values were added to AutogenInfo.json for Multi-Config usage.
  • Some functions were refactored to avoid code duplication.

This restores !8564 (merged).

Fixes: #20074 (closed)
Topic-rename: autogen-exe-per-config

Edited by Brad King

Merge request reports