summaryrefslogtreecommitdiffstats
path: root/config.tests/separate_debug_info
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@qt.io>2021-01-20 18:05:25 +1100
committerCraig Scott <craig.scott@qt.io>2021-01-21 11:54:14 +1100
commitf0ccdbb439ecce01e63b6c6947da7f56e50ecf9f (patch)
tree7770e40a0f0e6d20937746f7e872a8762b5381f1 /config.tests/separate_debug_info
parentaf0fa5cffe55b3ce9364fa2e6f4b76bc581c08c9 (diff)
Only generate and add static plugin imports once per module target
Projects may call find_package(Qt6 ...) multiple times. When enabling examples and tests, this happens a lot. For a statically built Qt, for modules that have plugins (e.g. Gui), every time the module's config file was loaded, it was generating and adding another copy of the import plugin sources to the module target. These accumulated and created many duplicates, which in turn blew out generation time and made the build very inefficient. This change checks whether the import plugin sources have already been processed for the module target and ensures they are only added once. It records its status on the target itself so that both local and global targets are supported. Fixes: QTBUG-90465 Change-Id: I1f45b1ee771a933ee755d44f1e983d6d9113dad0 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'config.tests/separate_debug_info')
0 files changed, 0 insertions, 0 deletions