pongasoft / jamba

A lightweight VST2/3 framework
https://jamba.dev/
Apache License 2.0
122 stars 3 forks source link

Create a "install" cmake target for the plugin #6

Closed ypujante closed 5 years ago

ypujante commented 5 years ago

Currently the command jamba.sh install executes the following set of commands:

> ./jamba.sh -n install
cmake --build . --target pongasoft_sam_spl_64
rm -rf /Users/ypujante/Library/Audio/Plug-Ins/VST3/pongasoft_sam_spl_64.vst3
cp -r VST3/pongasoft_sam_spl_64.vst3 /Users/ypujante/Library/Audio/Plug-Ins/VST3/pongasoft_sam_spl_64.vst3
VST3 plugin installed under ~/Library/Audio/Plug-Ins/VST3/pongasoft_sam_spl_64.vst3
rm -rf /Users/ypujante/Library/Audio/Plug-Ins/VST/pongasoft_sam_spl_64.vst
cp -r VST3/pongasoft_sam_spl_64.vst3 /Users/ypujante/Library/Audio/Plug-Ins/VST/pongasoft_sam_spl_64.vst
VST2 plugin installed under ~/Library/Audio/Plug-Ins/VST/pongasoft_sam_spl_64.vst

The side effect is that there is no cmake target to run to achieve the same result. Thus if you want to run a debugger in an IDE you need to manually run the jamba command instead of selecting the target...

The point of this issue is to try to migrate this logic to cmake

ypujante commented 5 years ago

Implemented in v3.2.3