diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2023-07-20 13:33:52 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2023-07-21 12:31:45 +0200 |
| commit | b91891a76bc2d9b47ba84e9ebefeccd77a76a87e (patch) | |
| tree | 1143d541d625161b236bdce3c36c028b83e655ea /src | |
| parent | a07426d23a02bd4029c6576f92fa43d324ff56be (diff) | |
QtWidgets: unbreak unity-build-batch-size 100000
Exclude TUs that cause problems in a build where all of QtWidgets's .cpp
files end up in a single unity_0_cxx.cxx. This should ensure that the
build will forthwith not fail because someone added a new .cpp file in
the "wrong" position.
Of course, this is just a snapshot, with my configuration: GCC 13,
Ubuntu 20.04, -developer-build, C++23, -sctp.
Task-number: QTBUG-115352
Pick-to: 6.6 6.5
Change-Id: I6a445701e2ac41d67a3ec69715b7bf6ed5ec65f7
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src')
| -rw-r--r-- | src/widgets/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets/CMakeLists.txt b/src/widgets/CMakeLists.txt index cf00dff0c10..9a508cc14e1 100644 --- a/src/widgets/CMakeLists.txt +++ b/src/widgets/CMakeLists.txt @@ -662,6 +662,8 @@ qt_internal_extend_target(Widgets CONDITION QT_FEATURE_inputdialog qt_internal_extend_target(Widgets CONDITION QT_FEATURE_messagebox SOURCES dialogs/qmessagebox.cpp dialogs/qmessagebox.h + NO_UNITY_BUILD_SOURCES + dialogs/qmessagebox.cpp # error: ‘Old_Ok’ [etc] was not declared in this scope ) if(QT_FEATURE_messagebox) |
