ninja

a small build system with a focus on speed

  • 所有者: ninja-build/ninja
  • 平台:
  • 许可证: Apache License 2.0
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Ninja

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

See the manual or
doc/manual.asciidoc included in the distribution for background
and more details.

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

Installation is not necessary because the only required file is the
resulting ninja binary. However, to enable features like Bash
completion and Emacs and Vim editing modes, some files in misc/ must be
copied to appropriate locations.

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

Building Ninja itself

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

Python

./configure.py --bootstrap

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

CMake

cmake -Bbuild-cmake -H.
cmake --build build-cmake

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

To run the unit tests:

./build-cmake/ninja_test

主要指标

概览
名称与所有者ninja-build/ninja
主编程语言C++
编程语言Python (语言数: 6)
平台
许可证Apache License 2.0
所有者活动
创建于2011-02-06 19:07:12
推送于2025-06-13 17:08:57
最后一次提交2025-06-13 19:08:57
发布数29
最新版本名称v1.12.1 (发布于 )
第一版名称release-120508 (发布于 )
用户参与
星数12k
关注者数263
派生数1.7k
提交数3.2k
已启用问题?
问题数1070
打开的问题数292
拉请求数893
打开的拉请求数74
关闭的拉请求数538
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?