[Interest] Changing Android project default compilation settings

Nuno Santos nunosantos at imaginando.pt
Thu Apr 28 19:02:46 CEST 2016


Hi,

I need to change the default android build settings for a project. One thing that I have noted is that if I add things to .pro file, the changes doesn’t reflect in the source code building. I have tried to change directly on .mkspec file and it worked. Is there any other recommended way of doing it?

I need to enable hardware floating point calculation by doing the following:

APP_CFLAGS -mhard-float -D_NDK_MATH_NO_SOFTFP=1
APP_ABI := armeabi-v7a-hard

Regards,

Nuno


More information about the Interest mailing list