Skip to content

Commit

Permalink
Windows tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
jatinchowdhury18 committed Oct 11, 2023
1 parent f79db3d commit 22439bc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Plugin/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ if(CHOWTAPE_BUILD_CLAP)
clap_juce_extensions_plugin(
TARGET CHOWTapeModel
CLAP_ID "org.chowdsp.CHOWTapeModel"
CLAP_FEATURES audio-effect distortion
CLAP_FEATURES audio-effect distortion win32-dpi-aware
CLAP_PROCESS_EVENTS_RESOLUTION_SAMPLES 64
CLAP_USE_JUCE_PARAMETER_RANGES DISCRETE
)
Expand Down
12 changes: 8 additions & 4 deletions Scripts/aax_builds.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/bash

# expand bash aliases
shopt -s expand_aliases
source ~/.bashrc

# exit on failure
set -e

Expand Down Expand Up @@ -51,8 +55,8 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
else # Windows
echo "Building for WINDOWS"

AAX_PATH=C:/SDKs/AAX_SDK/
ilok_pass=$(cat /d/ilok_pass)
AAX_PATH=C:/Users/Jatin/SDKs/AAX_SDK_clang/
ilok_pass=$(cat ~/ilok_pass)
aax_target_dir="/c/Program Files/Common Files/Avid/Audio/Plug-Ins"
TARGET_DIR="Win64"
fi
Expand All @@ -73,7 +77,7 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
cmake --build build-aax --config $build_config -j12 --target CHOWTapeModel_AAX | xcpretty

else # Windows
cmake -Bbuild-aax -G"Visual Studio 16 2019" -A x64
cmake -Bbuild-aax -G"Visual Studio 17 2022" -A x64 -T ClangCl
cmake --build build-aax --config $build_config --parallel $(nproc) --target CHOWTapeModel_AAX
fi

Expand All @@ -99,7 +103,7 @@ else # Windows
--account chowdsp \
--password "$ilok_pass" \
--wcguid $wcguid \
--keyfile /c/Users/jatin/Downloads/jatin_aax_cert.p12 \
--keyfile ~/jatin_aax_cert.p12 \
--keypassword "$ilok_pass" \
--in $aax_location \
--out $aax_location
Expand Down

0 comments on commit 22439bc

Please sign in to comment.