Quantcast
Viewing all articles
Browse latest Browse all 4929

Understanding addon_config.mk includes and excludes

@autr wrote:

Hi, I'm struggling to comprehend the addon_config.mk file. I've been aiming to include addon dependencies to the addon I'm creating contained within it's own libs folder.

For ofxSyphon though I'd like to only include this if osx. So far the config looks like so;

meta:
ADDON_NAME = ofxFluidTools
ADDON_DESCRIPTION = WIP
ADDON_AUTHOR = Autr
ADDON_TAGS = "GUI Elements"
ADDON_URL = http://github.com/autr/ofxFluidTools

common:
	ADDON_SOURCES_EXCLUDE = libs/ofxSyphon/%
	ADDON_INCLUDES_EXCLUDE = libs/ofxSyphon/%
	ADDON_SOURCES_EXCLUDE += libs/ofxSyphon/libs/%
	ADDON_INCLUDES_EXCLUDE += libs/ofxSyphon/libs/%
	ADDON_SOURCES_EXCLUDE += libs/Syphon/%
	ADDON_INCLUDES_EXCLUDE += libs/Syphon/%

linux64:

linux:

linuxarmv6l:

linuxarmv7l:

msys2:

vs:

android/armeabi:

android/armeabi-v7a:

osx:
	# Something to add the libs/ofxSyphon back to the project
ios:

I guess my questions are threefold;

  • In this config file all src files are excluded except the Syphon.framework (see screengrab) - I see there is an ADDON_FRAMEWORKS, is there a ADDON_EXCLUDE_FRAMEWORKS?

Image may be NSFW.
Clik here to view.

  • And if I do manage to exclude the entirety of the ofxSyphon lib, how can I correctly add it back in in it's entirety? Or is this the incorrect approach - should I exclude everything independently for linux, msys2, vs, android etc - ?

Any help much appreciated!

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles