https://github.com/tekknolagi/ninja-demo
https://github.com/tekknolagi/ninja-demo
build-tools c cpp ninja
Last synced: 27 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tekknolagi/ninja-demo
- Owner: tekknolagi
- Created: 2023-11-06T21:45:26.000Z (almost 2 years ago)
- Default Branch: trunk
- Last Pushed: 2024-07-09T04:18:34.000Z (over 1 year ago)
- Last Synced: 2025-07-03T23:36:07.730Z (3 months ago)
- Topics: build-tools, c, cpp, ninja
- Language: Python
- Homepage:
- Size: 26.4 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A little Ninja demo
This bundles a slightly modified version of
[@gkbrk](https://github.com/gkbrk/)'s tiny Ninja implementation in Python
(AGPLv3) as well as the `ninja_syntax.py` file from upstream
[Ninja](https://github.com/ninja-build/ninja/) (Apache 2.0) to build an example
C project.Check it out with:
```console
$ ./configure
$ ./ninja.py
[1/4] CC main.o
[3/4] CC lib.o
[4/4] LD main
$ ./ninja.py
$
```Look ma, no rebuilds.