gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit 8006ba338f5afac2dd3b67a006f6af1a1dc77049
parent 4e31c73146cd2044ca3c43ff4196bfb90433b868
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Sun,  2 Feb 2025 12:09:51 +0100

add extra targets for each plugin format

Diffstat:
Msource/juce.cmake | 20++++++++++++++++++++
1 file changed, 20 insertions(+), 0 deletions(-)

diff --git a/source/juce.cmake b/source/juce.cmake @@ -19,18 +19,31 @@ set(juce_formats "") if(USE_AU) set(juce_formats AU) + add_custom_target(PluginFormat_AU) + set_property(TARGET PluginFormat_AU PROPERTY FOLDER CustomTargets) endif() if(USE_VST2 AND JUCE_GLOBAL_VST2_SDK_PATH) list(APPEND juce_formats VST) + add_custom_target(PluginFormat_VST2) + set_property(TARGET PluginFormat_VST2 PROPERTY FOLDER CustomTargets) endif() if(USE_VST3) list(APPEND juce_formats VST3) + add_custom_target(PluginFormat_VST3) + set_property(TARGET PluginFormat_VST3 PROPERTY FOLDER CustomTargets) endif() if(USE_LV2) list(APPEND juce_formats LV2) + add_custom_target(PluginFormat_LV2) + set_property(TARGET PluginFormat_LV2 PROPERTY FOLDER CustomTargets) +endif() + +if(USE_CLAP) + add_custom_target(PluginFormat_CLAP) + set_property(TARGET PluginFormat_CLAP PROPERTY FOLDER CustomTargets) endif() add_custom_target(ServerPlugins) @@ -126,12 +139,17 @@ macro(createJucePlugin targetName productName isSynth plugin4CC binaryDataProjec ) set_property(TARGET ${targetName}_CLAP PROPERTY FOLDER ${targetName}) add_dependencies(${targetName}_All ${targetName}_CLAP) + add_dependencies(PluginFormat_CLAP ${targetName}_CLAP) endif() if(UNIX AND NOT APPLE) target_link_libraries(${targetName} PUBLIC -static-libgcc -static-libstdc++) endif() + if(USE_VST2) + add_dependencies(PluginFormat_VST2 ${targetName}_VST) + endif() + if(USE_VST3) if(APPLE) install(TARGETS ${targetName}_VST3 DESTINATION . COMPONENT ${productName}-VST3) @@ -147,6 +165,7 @@ macro(createJucePlugin targetName productName isSynth plugin4CC binaryDataProjec endif() install(DIRECTORY ${vst3OutputFolder}/${productName}.vst3 DESTINATION ${dest} COMPONENT ${productName}-VST3 FILES_MATCHING PATTERN ${pattern} PATTERN "*.json") endif() + add_dependencies(PluginFormat_VST3 ${targetName}_VST3) endif() if(MSVC OR APPLE) @@ -193,6 +212,7 @@ macro(createJucePlugin targetName productName isSynth plugin4CC binaryDataProjec if(APPLE) installMacSetupScript(${dest} ${productName}-LV2) endif() + add_dependencies(PluginFormat_LV2 ${targetName}_LV2) endif() if(USE_AU AND APPLE AND ${isSynth})