Addon that has an other addon as dependency

I’m making an addon(let’s called it A) that uses internally another addon(let’s called it B). I would like that it would be possible to clone the repo containing A and get started to use it, without the need to clone the repo B separately. Is it possible?

If this is not possible, what is the way to go in this case? I’ve seen that in some addon there is a addon_config.mk file, and that it is also cited in this thread: Modifying ADDON_SOURCES in addons_config.mk but it does not say nothing specifically regarding my case.

In case someone else will have the same problem, there is a discussion going on here https://github.com/openframeworks/ofxAddonTemplate/issues/4 but actually there is no available solution.

If you make an addon that has another addon as dependency, you simply include the dependency in the header file, the user will have to download the required addon, like in this addon https://github.com/julapy/ofxColorPicker

1 Like