I wanted to use ofxDlib with Visual Studio. It compiled with some additional build commands.
Now I wanted to edit these commands in the addon_config.mk.
When adding multiple entries to a flag the project generator only uses the first entry:
ADDON_CFLAGS = -O3 -Wno-strict-aliasing
for instance only creates the cflag
in the Visual Studio project
I tried then adding a separate cflag
ADDON_CFLAGS = -O3 ADDON_CFLAGS += -Wno-strict-aliasing
does not work as well.
Also defining flags for Visual Studio like
vs: ADDON_CFLAGS += DLIB_PNG_SUPPORT ADDON_CFLAGS += /bigobj ADDON_INCLUDES += libs\dlib\include\dlib\all ADDON_INCLUDES += libs\dlib\include\dlib\external\libpng
is also not working.
Someone has an idea how make an addon config work?