apothecary
apothecary copied to clipboard
How to use apothecary with addons?
Hi everyone,
especially since of_v0.10.0
I've been asking myself how apothecary is intended to be used with addons. Even in earlier versions it was a bit cumbersome to tell the users of an addons how to create the libs with apothecary. But with v0.10.0
apothecary isn't even included in the downloadable Of release.
In the readme of my addons I'm telling users to do this:
cd of_v0.10.0_osx_release/scripts/
git clone https://github.com/openframeworks/apothecary
cd apothecary/apothecary
./apothecary update ofxMyAddon
Is this intended this way, or did I understand something wrong?
Thanks, Michael
Almost identical, I use to do cd apothecary/ && ./apothecary/apothecary update ofxMyAddon
instead of your last 2 lines and it seems to work for building. But then when copying they end up in the wrong place, so maybe we need to remove one apothecary
folder level ? ./apothecary/apothecary copy ofxMyAddon
I noticed this a while ago and submitted a PR here https://github.com/openframeworks/apothecary/pull/213/files But maybe it is more complex than this. I'm not sure if apothecary is meant to overwrite libs, or install assimp in addons folder for example.