We’re using a setup in which our apps can easily switch OF versions and addons. Apps and their needed libs are in seperate repos.
We have library directory structure consisting of stable, testing and unstable. (Like Debian) Every branch has its own addons we need for our apps. We’re using svn externals to directly link to the github versions or if no repo is available we include the files directly in the repo. We haven’t switched to git yet, nor do I know we will in the short future.
We put our apps in seperate svn repo’s. Using config.make we link to the version of OF we develop for.
OF_ROOT = ../../libs/testing/openFrameworks
Now we’ve done a little trick for the addons. Since addons are found in the addons directory of OF we just tell the addons.make where to find the addon relative to the addons directory:
This works very nice for linux. For OSX you needed to include the addon to the project manually anyway. For Windows it has always been manual work. However project files for windows are easy to switch by doing a find/replace in a text editor. In this setup it’s important to clean the build after switching versions.
This setup has been very helpful to us. I’m curious of other approaches.