From 9f301500e04feb4adcbe36c436754e5d2ba60188 Mon Sep 17 00:00:00 2001 From: Robert Adam Date: Fri, 5 Mar 2021 09:31:03 +0100 Subject: BUILD(cmake): Increase unity build batch size By increasing the batch size, the benefits of the unity build are expected to increase as well. --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CMakeLists.txt') 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) -- cgit v1.2.3