Android Cmake:构建大型项目时,系统会消失
我正在研究Android
本机项目,该项目必须编译大量c ++
文件。我正在使用cmake
来构建本机Libs。由于有很多c ++
源文件,因此我的系统不在内存(IDE使用5-6 GB内存)。
是否有build.gradle
使用更少的内存或任何替代方案来为Android构建本机LIB的设置?
I am working on an Android
native project which has to compile a lot of C++
files. I am using CMake
to build native libs. As there are lot of C++
source files, my system goes out of memory(IDE is using 5-6 GB memory).
Is there a settings for build.gradle
to use less memory or any alternative to build native lib for android?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论