diff options
author | Robert Adam <dev@robert-adam.de> | 2021-03-05 11:31:03 +0300 |
---|---|---|
committer | Robert Adam <dev@robert-adam.de> | 2021-03-06 20:57:22 +0300 |
commit | 9f301500e04feb4adcbe36c436754e5d2ba60188 (patch) | |
tree | 0ee35e0cf675a78353f20bcb4f4b24029d036171 /CMakeLists.txt | |
parent | 89693f6bcb860f22039dfeea570ad8f24a3b70f4 (diff) |
BUILD(cmake): Increase unity build batch size
By increasing the batch size, the benefits of the unity build are
expected to increase as well.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 47b88ab7b..24b249258 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -111,6 +111,8 @@ add_compile_definitions(MUMBLE_BUILD_YEAR=${MUMBLE_BUILD_YEAR}) # Make sure that math constants are always defined add_compile_definitions(_USE_MATH_DEFINES) +set(CMAKE_UNITY_BUILD_BATCH_SIZE 40) + add_subdirectory(src) if(g15 AND WIN32) |