Skip to content

Commit

Permalink
Update Windows AAX build script
Browse files Browse the repository at this point in the history
  • Loading branch information
jatinchowdhury18 committed Mar 2, 2024
1 parent 9bbc29f commit 6b47748
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions scripts/aax_builds.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 6b47748

Please sign in to comment.