Setting search paths in addon_config.mk


#1

Is there a place with more complete documentation on how to make addon_config.mk for an addon? For XCode, the ADDON_INCLUDES field addresses the header search paths, but what about Library Search Paths and Runpath search paths fields? Which variables address these?


#2

there’s not much docs apart from examples in the official addons and the addon template. if you want to add libraries that are not in the standard path:

ofxAddon/libs/somelib/lib/platform/somelib.a

then you can use ADDON_LIBS to add the library using the full path to it. if you really need to add a library using library path and library name you can use ADDON_LDFLAGS to add -Lpath -lsomelib