How to add build settings for emscripten on addon_config.mk file?

#1

Hi, I wonder if it’s possible to add build settings for emscripten on addon_config.mk file.

I checked ofxAddonTemplate but couldn’t find any emscripten option from https://github.com/openframeworks/ofxAddonTemplate/blob/master/addon_config.mk

Any advice would be appreciated.

#2

yes just do the same as for other platforms, add an emscripten section as:

emscripten:
    ADDON_CFLAGS=...

if you can send a PR to ofxAddonTemplate adding an emscripten section that would be really useful

1 Like