• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

ninja: Ninja 是Google的一名程序员推出的注重速度的构建工具,一般在Unix/Linux上的 ...

原作者: [db:作者] 来自: 网络 收藏 邀请

Ninja

Ninja is a small build system with a focus on speed.https://ninja-build.org/

See the manual ordoc/manual.asciidoc included in the distribution for backgroundand more details.

Binaries for Linux, Mac, and Windows are available atGitHub.Run ./ninja -h for Ninja help.

Installation is not necessary because the only required file is theresulting ninja binary. However, to enable features like Bashcompletion and Emacs and Vim editing modes, some files in misc/ must becopied to appropriate locations.

If you're interested in making changes to Ninja, readCONTRIBUTING.md first.

Building Ninja itself

You can either build Ninja via the custom generator script written in Python orvia CMake. For more details seethe wiki.

Python

./configure.py --bootstrap

This will generate the ninja binary and a build.ninja file you can now useto build Ninja with itself.

CMake

cmake -Bbuild-cmakecmake --build build-cmake

The ninja binary will now be inside the build-cmake directory (you canchoose any other name you like).

To run the unit tests:

./build-cmake/ninja_test

鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap