commit 97f163999d79af72de55e6b9337af0e7c3bd05d4
parent 18adceb68fbbc14956d8e31b9e5033ec4906b8d2
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date: Sun, 27 Oct 2024 16:53:21 +0100
compile all plugins into bin/ folder in project root instead of a temp dir
Diffstat:
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -12,3 +12,4 @@
*atom*.sh
*debug.sh
CMakeUserPresets.json
+bin/
+\ No newline at end of file
diff --git a/source/juce.cmake b/source/juce.cmake
@@ -47,6 +47,7 @@ macro(createJucePlugin targetName productName isSynth plugin4CC binaryDataProjec
COPY_PLUGIN_AFTER_BUILD FALSE # Should the plugin be installed to a default location after building?
PLUGIN_MANUFACTURER_CODE TusP # A four-character manufacturer id with at least one upper-case character
PLUGIN_CODE ${plugin4CC} # A unique four-character plugin id with exactly one upper-case character
+ PRODUCTS_FOLDER "${CMAKE_SOURCE_DIR}/bin/plugins/$<CONFIG>"
# GarageBand 10.3 requires the first letter to be upper-case, and the remaining letters to be lower-case
FORMATS ${juce_formats} # The formats to build. Other valid formats are: AAX Unity VST AU AUv3 LV2
PRODUCT_NAME ${productName} # The name of the final executable, which can differ from the target name