ninja

a small build system with a focus on speed

  • Owner: ninja-build/ninja
  • Platform:
  • License:: Apache License 2.0
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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

Main metrics

Overview
Name With Ownerninja-build/ninja
Primary LanguageC++
Program languagePython (Language Count: 6)
Platform
License:Apache License 2.0
所有者活动
Created At2011-02-06 19:07:12
Pushed At2025-05-15 18:59:38
Last Commit At2025-05-15 20:59:37
Release Count29
Last Release Namev1.12.1 (Posted on )
First Release Namerelease-120508 (Posted on )
用户参与
Stargazers Count12k
Watchers Count263
Fork Count1.7k
Commits Count3.2k
Has Issues Enabled
Issues Count1067
Issue Open Count292
Pull Requests Count892
Pull Requests Open Count74
Pull Requests Close Count536
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private