1. Windows安装 1.1 下载源码 git clone https://github.com/ninja-build/ninja.git 1.2 切换分支 git checkout release 1.3 编译生成 在开始菜单找到vs2019的x64 native tools command prompt并启动 切换到刚才的源码目录 执行下列源码生成 python configure.py --bootstrap