Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
.github/workflows/ | 07-Sep-2024 | - | 166 | 135 | ||
doc/ | 07-Sep-2024 | - | 2,609 | 1,949 | ||
misc/ | 07-Sep-2024 | - | 1,462 | 1,084 | ||
src/ | 07-Sep-2024 | - | 26,825 | 19,528 | ||
windows/ | 07-Sep-2024 | - | 9 | 8 | ||
.clang-format | D | 07-Sep-2024 | 1 KiB | 27 | 24 | |
.editorconfig | D | 07-Sep-2024 | 152 | 12 | 9 | |
.gitattributes | D | 07-Sep-2024 | 631 | 16 | 15 | |
.gitignore | D | 07-Sep-2024 | 534 | 41 | 35 | |
.travis.yml | D | 07-Sep-2024 | 837 | 37 | 36 | |
CMakeLists.txt | D | 07-Sep-2024 | 6.9 KiB | 236 | 211 | |
CONTRIBUTING.md | D | 07-Sep-2024 | 1.7 KiB | 35 | 29 | |
COPYING | D | 07-Sep-2024 | 11.1 KiB | 203 | 169 | |
OAT.xml | D | 07-Sep-2024 | 3.9 KiB | 66 | 11 | |
README.OpenSource | D | 07-Sep-2024 | 284 | 12 | 11 | |
README.md | D | 07-Sep-2024 | 1.3 KiB | 52 | 36 | |
RELEASING | D | 07-Sep-2024 | 1.4 KiB | 34 | 29 | |
appveyor.yml | D | 07-Sep-2024 | 1.3 KiB | 62 | 52 | |
build_description.md | D | 07-Sep-2024 | 328 | 20 | 16 | |
bundle.json | D | 07-Sep-2024 | 741 | 32 | 31 | |
configure.py | D | 07-Sep-2024 | 23.5 KiB | 721 | 586 |
README.OpenSource
1[ 2 { 3 "Name": "ninja", 4 "License": "Apache License V2.0", 5 "License File": "COPYING", 6 "Version Number": "1.11.0", 7 "Owner": "liwentao20@huawei.com", 8 "Upstream URL": "https://ninja-build.org/", 9 "Description": "a small build system with a focus on speed" 10 } 11] 12
README.md
1# Ninja 2 3Ninja is a small build system with a focus on speed. 4https://ninja-build.org/ 5 6See [the manual](https://ninja-build.org/manual.html) or 7`doc/manual.asciidoc` included in the distribution for background 8and more details. 9 10Binaries for Linux, Mac, and Windows are available at 11 [GitHub](https://github.com/ninja-build/ninja/releases). 12Run `./ninja -h` for Ninja help. 13 14Installation is not necessary because the only required file is the 15resulting ninja binary. However, to enable features like Bash 16completion and Emacs and Vim editing modes, some files in misc/ must be 17copied to appropriate locations. 18 19If you're interested in making changes to Ninja, read 20[CONTRIBUTING.md](CONTRIBUTING.md) first. 21 22## Building Ninja itself 23 24You can either build Ninja via the custom generator script written in Python or 25via CMake. For more details see 26[the wiki](https://github.com/ninja-build/ninja/wiki). 27 28### Python 29 30``` 31./configure.py --bootstrap 32``` 33 34This will generate the `ninja` binary and a `build.ninja` file you can now use 35to build Ninja with itself. 36 37### CMake 38 39``` 40cmake -Bbuild-cmake 41cmake --build build-cmake 42``` 43 44The `ninja` binary will now be inside the `build-cmake` directory (you can 45choose any other name you like). 46 47To run the unit tests: 48 49``` 50./build-cmake/ninja_test 51``` 52