ninja是一个构建工具,专注于快速构建,据说比make快好几倍。
ninja从设计上就不考虑手工编写ninja文件,而是用于执行其他工具生成好的ninja文件,例如执行cmake生成的ninja文件。
cmake生成ninja:cmake -G Ninja
Where other build systems are high-level languages Ninja aims to be an assembler.
Ninja build files are human-readable but not especially convenient to write by hand.
https://github.com/ninja-build/ninja
https://ninja-build.org/manual.html