如何prevent Android原生项目改变Android.mk后完全重建? [英] How to prevent Android native project full rebuild after changing Android.mk?

查看:172
本文介绍了如何prevent Android原生项目改变Android.mk后完全重建?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我编辑我的项目Android.mk微调一些编译器选项。每次构建过程要从头开始。我不想做的每一个变化之后完全重建。有没有办法这样做呢?

I'm editing Android.mk of my project to fine-tune some compiler options. Every time the build process is started from scratch. I don't want to do a full rebuild after each and every change. Is there a way to do so?

推荐答案

GNU 制作的选项 -o http://unixhelp.ed.ac.uk/CGI/man-cgi?make ),以不翻拍文件的文件即使是比其年长的依赖,也不要重拍的帐户文件更改的任何内容。基本上,文件将被视为很老,它的规则会被忽略。

GNU make has the option -o (http://unixhelp.ed.ac.uk/CGI/man-cgi?make) to do not remake the file file even if it is older than its dependencies, and do not remake anything on account of changes in file. Essentially the file is treated as very old and its rules are ignored.

这code的伎俩:

ndk-build -o jni/Android.mk

这篇关于如何prevent Android原生项目改变Android.mk后完全重建?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆