danomatika / swig-openframeworks

a SWIG interface for openFrameworks with included Makefile, submodule this in your language wrapper addons
Other
39 stars 11 forks source link

SWIG needs extra flag for Python #12

Closed chaosct closed 7 years ago

chaosct commented 7 years ago

It seems that SWIG needs -modern flag to drop support for old versions (<2.2) of python and produce correct code.

I've added this in the Makefile

danomatika commented 7 years ago

I'd prefer "LANGFLAGS" or "LANG_FLAGS" as opposed to "EXTRA_LANG" as I feel those are a little clearer as to it's function.

danomatika commented 7 years ago

Thanks for this. I renamed EXTRA_LANG to SWIG_FLAGS.