CMake 美国 CMake 生成 Makefile、Ninja 与 Visual Studio 等 10 种以上原生构建文件,以 target 为中心描述依赖,内置 CTest 与 CPack 并支持 CMakePresets 统一 CI 参数;其代价是语法与作用域规则复杂、旧项目迁移成本高。