enable CMake unity build in build.sh

main
tnixeu 2022-10-27 22:41:24 +07:00 committed by JF
parent 21f3bd7082
commit 35654fbd98
1 changed files with 1 additions and 0 deletions

@ -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 \