1
0
Fork 0

enable CMake unity build in build.sh

This commit is contained in:
tnixeu 2022-10-27 22:41:24 +02:00 committed by JF
parent 21f3bd7082
commit 35654fbd98

View file

@ -65,6 +65,7 @@ CmakeGenerate() {
-S "$SOURCES_DIR" \ -S "$SOURCES_DIR" \
-B "$BUILD_DIR" \ -B "$BUILD_DIR" \
-DCMAKE_BUILD_TYPE=$BUILD_TYPE \ -DCMAKE_BUILD_TYPE=$BUILD_TYPE \
-DCMAKE_UNITY_BUILD="ON" \
-DARM_NONE_EABI_TOOLCHAIN_PATH="$TOOLS_DIR/$GCC_ARM_PATH" \ -DARM_NONE_EABI_TOOLCHAIN_PATH="$TOOLS_DIR/$GCC_ARM_PATH" \
-DNRF5_SDK_PATH="$TOOLS_DIR/$NRF_SDK_VER" \ -DNRF5_SDK_PATH="$TOOLS_DIR/$NRF_SDK_VER" \
-DBUILD_DFU=1 \ -DBUILD_DFU=1 \