摘要: 源码安装 1、下载源文件 git clone https://github.com/ninja-build/ninja.git 2、编译生成可执行文件 ./configure.py --bootstrap #在ninja目录中执行 3、移动可执行文件 cp ./ninja /usr/bin #在ni 阅读全文
posted @ 2021-02-25 11:46 chenjian688 阅读(820) 评论(0) 推荐(0) 编辑
摘要: 1、下载需要的版本 https://cmake.org/download/ 2、解压、编译并安装到制定目录,修改环境变量 tar -zxvf cmake-3.20.0-rc1.tar.gz cd cmake-3.20.0-rc1 ./bootstrap --prefix=/opt/cmake-ins 阅读全文
posted @ 2021-02-25 11:42 chenjian688 阅读(2985) 评论(1) 推荐(0) 编辑