[英]Android NDK configurations
When compiling a windows app with VS, I can choose between debug
and release
. 使用VS编译Windows应用程序时,我可以在
debug
和release
之间进行选择。 I often get a 10x increase in speed using release. 使用发行版时,我的速度通常会提高10倍。 Is there such an option to set when compiling an NDK app for Android?
在为Android编译NDK应用程序时,是否可以设置这样的选项? Or is it always
release
(or always debug
)? 还是总是
release
(或总是debug
)?
You can build in release or debug using the APP_OPTIM variable in your Application.mk file. 您可以使用Application.mk文件中的APP_OPTIM变量进行内置发行或调试。
APP_OPTIM := debug
or 要么
APP_OPTIM := release
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.