Set 32 as the default batch size for unity build
Pick-to: 6.5 Task-number: QTBUG-109394 Change-Id: I4497d1abc85578649f03fc8ae4916f56e4f1f351 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
This commit is contained in:
parent
6afdf30af4
commit
6d0c774c51
@ -331,7 +331,7 @@ if(QT_USE_CCACHE)
|
||||
endif()
|
||||
|
||||
option(QT_UNITY_BUILD "Enable unity (jumbo) build")
|
||||
set(QT_UNITY_BUILD_BATCH_SIZE "8" CACHE STRING "Unity build batch size")
|
||||
set(QT_UNITY_BUILD_BATCH_SIZE "32" CACHE STRING "Unity build batch size")
|
||||
if(QT_UNITY_BUILD)
|
||||
set(CMAKE_UNITY_BUILD ON)
|
||||
set(CMAKE_UNITY_BUILD_BATCH_SIZE "${QT_UNITY_BUILD_BATCH_SIZE}")
|
||||
|
Loading…
Reference in New Issue
Block a user