From e22e5366268ffca1a04f32662516197b2e6fad4e Mon Sep 17 00:00:00 2001 From: jules Date: Thu, 6 Feb 2014 11:27:23 +0000 Subject: [PATCH] Couple of tweaks to VST3 generation. --- extras/Introjucer/Source/Project/jucer_AudioPluginModule.h | 2 +- .../Builds/VisualStudio2005/JuceDemoPlugin.vcproj | 4 ++-- .../Builds/VisualStudio2008/JuceDemoPlugin.vcproj | 4 ++-- modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/extras/Introjucer/Source/Project/jucer_AudioPluginModule.h b/extras/Introjucer/Source/Project/jucer_AudioPluginModule.h index c6d3038acb..a497222aad 100644 --- a/extras/Introjucer/Source/Project/jucer_AudioPluginModule.h +++ b/extras/Introjucer/Source/Project/jucer_AudioPluginModule.h @@ -281,7 +281,7 @@ namespace VSTHelpers config->getValue (Ids::useRuntimeLibDLL) = true; if (config->getValue (Ids::postbuildCommand).toString().isEmpty()) - config->getValue (Ids::postbuildCommand) = "copy /Y $(OutDir)$(TargetFileName) $(OutDir)$(TargetName).vst3"; + config->getValue (Ids::postbuildCommand) = "copy /Y \"$(OutDir)$(TargetFileName)\" \"$(OutDir)$(TargetName).vst3\""; } } } diff --git a/extras/audio plugin demo/Builds/VisualStudio2005/JuceDemoPlugin.vcproj b/extras/audio plugin demo/Builds/VisualStudio2005/JuceDemoPlugin.vcproj index 38345d2423..125cba4f5c 100644 --- a/extras/audio plugin demo/Builds/VisualStudio2005/JuceDemoPlugin.vcproj +++ b/extras/audio plugin demo/Builds/VisualStudio2005/JuceDemoPlugin.vcproj @@ -66,7 +66,7 @@ + CommandLine="copy /Y "$(OutDir)$(TargetFileName)" "$(OutDir)$(TargetName).vst3""/> + CommandLine="copy /Y "$(OutDir)$(TargetFileName)" "$(OutDir)$(TargetName).vst3""/> diff --git a/extras/audio plugin demo/Builds/VisualStudio2008/JuceDemoPlugin.vcproj b/extras/audio plugin demo/Builds/VisualStudio2008/JuceDemoPlugin.vcproj index 568171bdc7..d36d8f495d 100644 --- a/extras/audio plugin demo/Builds/VisualStudio2008/JuceDemoPlugin.vcproj +++ b/extras/audio plugin demo/Builds/VisualStudio2008/JuceDemoPlugin.vcproj @@ -66,7 +66,7 @@ + CommandLine="copy /Y "$(OutDir)$(TargetFileName)" "$(OutDir)$(TargetName).vst3""/> + CommandLine="copy /Y "$(OutDir)$(TargetFileName)" "$(OutDir)$(TargetName).vst3""/> diff --git a/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp b/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp index 5f162591ce..b09bfc6ced 100644 --- a/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp +++ b/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp @@ -1460,7 +1460,7 @@ private: #ifndef JucePlugin_Vst3Category #if JucePlugin_IsSynth - #define JucePlugin_Vst3Category Vst::PlugType::kInstrument + #define JucePlugin_Vst3Category Vst::PlugType::kInstrumentSynth #else #define JucePlugin_Vst3Category Vst::PlugType::kFx #endif