Skip to content

Autogen: Generated moc_predefs.h only on demand

Sebastian Holtermann requested to merge sebholt/cmake:autogen_once into master

At the moment AUTOMOC generates moc_predefs.h on every build. It is sufficient to build it only once and rebuild it when the predefs command or a setting changes.

Also:

  • Store only the hash of the Autogen settings for change detection.
  • Variable and function renames in the Autogen parts

Merge request reports