diff options
| author | Amir Masoud Abdol <amir.abdol@qt.io> | 2023-03-09 14:53:14 +0100 |
|---|---|---|
| committer | Amir Masoud Abdol <amir.abdol@qt.io> | 2023-03-14 17:28:44 +0100 |
| commit | 360293623094a31586981206e59c92aa6235163d (patch) | |
| tree | 19fb1bdcf87a1c9ece0714b5483baab76c586e2f /src/plugins/platforms/wasm/qwasmcursor.cpp | |
| parent | cfed6587476712b67d9de3fd67d708651d827690 (diff) | |
Improve the internal handling of unity build
- Removed the NO_UNITY_BUILD argument from commands that disable it by
default.
- Add a warning in case NO_UNITY_BUILD or NO_UNITY_BUILD_SOURCES is
being used where it is already disabled, e.g., qt_internal_add_test
- Exclude all sources of a target from unity build if NO_UNITY_BUILD
is set on the target. This sounds a bit harsh, but I have noticed that
sometimes the same source file can be included somewhere else, and
some unexpected collision may occur.
- qt_examples_build_end excludes all its examples from the unity build.
- qt_build_test now sets the CMAKE_UNITY_BUILD to OFF before configuring
the tests, and restore its value when done.
Pick-to: 6.5
Task-number: QTBUG-109394
Change-Id: Ia42e7dd5a5bfb151db241deb639325720fd91eec
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/plugins/platforms/wasm/qwasmcursor.cpp')
0 files changed, 0 insertions, 0 deletions
