If you want to compile your code with asserts then you can do it in three ways:
* use NDK_DEBUG=1 argument in ndk-build commandline
* add android:debuggable="true" to tag <application> in AndroidManifest.xml
* add APP_OPTIM := debug to your Application.mk file - this will also
disable optimizations and will compile with debug symbols
--
Mārtiņš Možeiko
> --
> You received this message because you are subscribed to the Google Groups "android-ndk" group.
> To post to this group, send email to andro...@googlegroups.com.
> To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.
>