Files
CMake/Source
Joerg Bornemann af11ea8d0c AutoGen: Fix needless compilation of mocs_compilation.cpp
For an AUTOMOC'ed target foo, when depfiles are used, there are the
following dependencies:

foo_autogen -> foo_autogen/timestamp
foo_autogen/mocs_compilation.cpp -> foo_autogen/timestamp

The first is used to trigger AUTOGEN.
The second erroneously triggers a recompilation of
mocs_compilation.cpp when any source file of target foo is touched.

Remove the latter dependency and replace it with an order-only
dependency from foo_autogen/mocs_compilation.cpp to
foo_autogen_timestamp_deps.

That is achieved by making mocs_compilation.cpp or its
per-configuration variants byproduct(s) of the timestamp file.

Fixes: #22338
2021-07-01 15:31:02 +02:00
..
2021-05-26 18:53:40 -04:00
2021-06-07 19:25:33 +00:00
2021-05-21 10:38:50 -04:00
2021-06-30 00:01:09 -04:00
2021-01-13 15:27:49 +01:00
2021-05-11 11:20:04 -04:00
2021-03-13 07:36:07 -05:00
2021-06-07 19:25:33 +00:00
2021-01-08 09:07:18 -05:00