From 35654fbd982e27383ffc15446d9ab0a8606ae29d Mon Sep 17 00:00:00 2001 From: tnixeu <4436784+tnixeu@users.noreply.github.com> Date: Thu, 27 Oct 2022 22:41:24 +0200 Subject: [PATCH] enable CMake unity build in build.sh --- docker/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/build.sh b/docker/build.sh index b9034a53..3ef24e4c 100755 --- a/docker/build.sh +++ b/docker/build.sh @@ -65,6 +65,7 @@ CmakeGenerate() { -S "$SOURCES_DIR" \ -B "$BUILD_DIR" \ -DCMAKE_BUILD_TYPE=$BUILD_TYPE \ + -DCMAKE_UNITY_BUILD="ON" \ -DARM_NONE_EABI_TOOLCHAIN_PATH="$TOOLS_DIR/$GCC_ARM_PATH" \ -DNRF5_SDK_PATH="$TOOLS_DIR/$NRF_SDK_VER" \ -DBUILD_DFU=1 \