[英]Makefile generation tool for Android NDK prebuilt libraries?
I'm doing a little bit of work with the Android NDK, and I'm spending a lot of time hand-editing the makefile for my prebuilt library every time I add or remove a source file. 我正在使用Android NDK进行一些工作,并且每次添加或删除源文件时,我都会花费大量时间手动编辑预构建库的makefile。 It seems like it should be possible to automate this.
似乎应该可以自动执行此操作。 Are there any good tools for the job?
有什么好的工作工具吗?
I'm a seasoned web/mobile developer but I'm brand new to building from the command line so it's entirely possible I'm overlooking an incredibly obvious right way to do this. 我是一位经验丰富的Web /移动开发人员,但是我是从命令行构建的新手,因此我完全有可能忽略了一种非常明显的正确方法。
Try something along the lines of: 尝试以下方法:
LOCAL_SRC_FILES := $(wildcard **/*.cpp)
(Assuming .cpp files is all your source.) (假设.cpp文件全部来自您。)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.