commit 22439bc7311d936319044d75e851b5decae665a3
parent f79db3d1050318b39cfa50b5e1a857adb00df077
Author: jatin <jatinchowdhury18@gmail.com>
Date: Wed, 11 Oct 2023 01:55:58 -0700
Windows tweaks
Diffstat:
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/Plugin/CMakeLists.txt b/Plugin/CMakeLists.txt
@@ -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
)
diff --git a/Scripts/aax_builds.sh b/Scripts/aax_builds.sh
@@ -1,5 +1,9 @@
#!/bin/bash
+# expand bash aliases
+shopt -s expand_aliases
+source ~/.bashrc
+
# exit on failure
set -e
@@ -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
@@ -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
@@ -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