Autogen: Acquire extended header list at configuration time
We acquire the complete list of headers that AUTOMOC
/AUTOUIC
should scan at generation time in the *_autogen
target.
For each source origin.<SOURCE_EXTENTION>
we additionally search for
- a matching origin header:
origin.<HEADER_EXTENSION>
- a matching private header:
origin_p.<HEADER_EXTENSION>
and add these to the total list of headers to scan.
We should compute the complete list of headers at configuration time instead. The knowledge of all AUTOMOC
/AUTOUIC
processed files at configuration time will allow us to generate per-file AUTOMOC
/AUTOUIC
cache files that we can use as
- known output files of the *
_autogen
target - dependency files for build/object files