对比 CMake 与 ndk-build 优势,详解 add_library、target_link_libraries 等核心命令。涵盖多源文件管理、条件编译及 C++ 标准设置。重点通过实战案例,