Is there any way of setting up a Visual Studio project on Windows in such a way that after building your plugin, it will copy it to the proper location?
I’ve tried the trivial approach of adding copy commands to the post-build event, but it doesn’t seem to actually do anything.
cmd.exe /k copy /y "$(OutDir)\$(TargetName)_VST3.vst3" "C:\Program Files\Common Files\VST3"
Any suggestions greatly appreciated, thanks!
If you are using the Projucer there is ‘Enable Plugin Copy Step’ in the debug and release configs & there is JUCE_COPY_PLUGIN_AFTER_BUILD for cmake (Never used the later tbh).
1 Like
Have you set the permissions to modify the “C:\Program Files\Common Files\VST3” folder? By default, users and user programs can’t modify it. (That’s why the plugin copy step is disabled by default in the Projucer.)
2 Likes
I did not think of that. Thank you!