Apologies, I neglected to mention that this is an Android project made using VisualGDB. I have constructed it using the Android App Wizard. Using the wizard, no flags.mak file has been generated, nor is one referenced in my Android.mk file.
Under this build environment, is it still a case of adding the macros in some make file? –
“COMMON_MACROS :=
DEBUG_MACROS := DEBUG
RELEASE_MACROS := NDEBUG RELEASE”
I have tried adding include flags.mak to my Android.mk, where the flags file only contains the above text, but this appears not to work.