From 6b47748fdd4a539f824064412c27a74b91b4b11c Mon Sep 17 00:00:00 2001 From: jatin Date: Sat, 2 Mar 2024 13:34:24 -0800 Subject: [PATCH] Update Windows AAX build script --- scripts/aax_builds.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/aax_builds.sh b/scripts/aax_builds.sh index 71a44458..84517fb9 100644 --- a/scripts/aax_builds.sh +++ b/scripts/aax_builds.sh @@ -1,8 +1,8 @@ #!/bin/bash -# expand bash aliases -shopt -s expand_aliases -source ~/.bashrc +# # expand bash aliases +# shopt -s expand_aliases +# source ~/.bashrc # exit on failure set -e @@ -79,7 +79,8 @@ if [[ "$OSTYPE" == "darwin"* ]]; then cmake --build build-aax --config $build_config -j12 --target "${TARGET_NAME}_AAX" | xcpretty else # Windows - cmake -Bbuild-aax -G"Visual Studio 17 2022" -T ClangCL -A x64 -DBYOD_BUILD_ADD_ON_MODULES=ON + cmake -Bbuild-aax -G"Ninja Multi-Config" -DBYOD_BUILD_ADD_ON_MODULES=ON \ + -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_RC_COMPILER=llvm-rc cmake --build build-aax --config $build_config --parallel $(nproc) --target "${TARGET_NAME}_AAX" fi