I’m following the cross-platform project model outlined here: http://www.raywenderlich.com/11283/cocos2d-x-for-ios-and-android-getting-started.
What makefile or build settings do I need to change for a release build where assertions and logs are disabled?
I’ve tried adding this to the Android.mk file:
LOCAL_CFLAGS += -DCOCOS2D_DEBUG=0
However, I still see log output, and assertions trigger as normal! My build command is:
bash build_native.sh NDK_DEBUG=0 V=0
I thought that with all of these flags I’d be fully in “release” mode, but it seems not…