Introjucer: C Files in Project


#1

I’ve been had over by this old chestnut again…

At some point, can you arrange for the Introjucer to emit LOCAL_CFLAGS in Builds/Android/jni/Android.mk as well as LOCAL_CPPFLAGS. What happens is, whenever you add a C file to the project, the LOCAL_CPPFLAGS are not used, instead it wants LOCAL_CFLAGS.

As a special hack, i’ve been adding

LOCAL_CFLAGS = $(LOCAL_CPPFLAGS) for both debug and release in my builds.

– hugh.


#2

Sure, it’d be easy enough to just set it to the same as the cpp flags.