Uppdaterade sökvägar för Windows builds

This commit is contained in:
crille committed 2026-11-21 13:14:07 +01:00
1 parent 7457eaf275
commit 5b1d22c745
2 files changed
+40 -3

No files matched your search

+8 -1
View File
@@ -14,6 +14,12 @@ FetchContent_Declare(
)
FetchContent_MakeAvailable(JUCE)
if(APPLE)
set(VST3_INSTALL_DIR "$ENV{HOME}/Library/Audio/Plug-Ins/VST3")
elseif(WIN32)
set(VST3_INSTALL_DIR "C:/Program Files/Common Files/VST3")
endif()
juce_add_plugin(CrilleBassStrip
COMPANY_NAME "Crille Audio"
BUNDLE_ID "org.crilleaudio.crillebassstrip"
@@ -22,8 +28,9 @@ juce_add_plugin(CrilleBassStrip
FORMATS VST3 Standalone
PRODUCT_NAME "Crille Bass Strip"
COPY_PLUGIN_AFTER_BUILD TRUE
VST3_COPY_DIR "$ENV{HOME}/Library/Audio/Plug-Ins/VST3"
VST3_COPY_DIR "${VST3_INSTALL_DIR}"
)
juce_generate_juce_header(CrilleBassStrip)
target_sources(CrilleBassStrip PRIVATE
+32 -2
View File
@@ -1,5 +1,6 @@
{
"version": 6,
"configurePresets": [
{
"name": "mac-release",
@@ -21,10 +22,39 @@
"CMAKE_OSX_ARCHITECTURES": "arm64;x86_64",
"CMAKE_OSX_DEPLOYMENT_TARGET": "11.0"
}
},
{
"name": "windows-release",
"displayName": "Windows Release",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/windows-release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
}
],
"buildPresets": [
{ "name": "mac-release", "configurePreset": "mac-release", "targets": ["CrilleBassStrip_VST3"] },
{ "name": "mac-universal-release", "configurePreset": "mac-universal-release", "targets": ["CrilleBassStrip_VST3"] }
{
"name": "mac-release",
"configurePreset": "mac-release",
"targets": [
"CrilleBassStrip_VST3"
]
},
{
"name": "mac-universal-release",
"configurePreset": "mac-universal-release",
"targets": [
"CrilleBassStrip_VST3"
]
},
{
"name": "windows-release",
"configurePreset": "windows-release",
"targets": [
"CrilleBassStrip_VST3"
]
}
]
}