diff options
| author | Craig Scott <craig.scott@qt.io> | 2021-09-13 15:54:00 +1000 |
|---|---|---|
| committer | Craig Scott <craig.scott@qt.io> | 2021-09-16 01:31:35 +1000 |
| commit | 4f96af37b20e03f6d380c446a8db6f626e16e334 (patch) | |
| tree | 9964a8a8ecfb12c397c4c5a86b89ee8e94c7986f /src/gui/doc/snippets/textdocument-css/main.cpp | |
| parent | 2f6d572dad031d2757a0f307cba56ae7b01c390a (diff) | |
Allow finalizers to be delayed to later in the same directory scope
Deferred CMake calls are executed in the order they are created.
Sometimes, a deferred call created after a call to qt_add_executable()
or qt_add_library() needs to be executed before target finalization.
For example, a file may be written using a deferred write, but the
finalizers might need that file to exist.
Provide an internal _qt_internal_delay_finalization_until_after()
command that can be called to let finalization know it has to defer
to later. Target finalizers will check an internal property for IDs
recorded by that command and will re-defer itself if it detects that
any of those haven't run yet.
Task-number: QTBUG-96290
Pick-to: 6.2
Change-Id: Ia791e99339bab351eff0d675a552393e524490e8
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/gui/doc/snippets/textdocument-css/main.cpp')
0 files changed, 0 insertions, 0 deletions
