2019-11-05 21:48:09 +00:00
|
|
|
# ninja
|
|
|
|
|
|
|
|
> A Build system designed to be fast.
|
|
|
|
> More information: <https://ninja-build.org/manual.html>.
|
|
|
|
|
|
|
|
- Build in the current directory:
|
|
|
|
|
|
|
|
`ninja`
|
|
|
|
|
2023-07-27 08:11:07 +01:00
|
|
|
- Build in the current directory, executing 4 jobs at a time in parallel:
|
|
|
|
|
|
|
|
`ninja -j {{4}}`
|
|
|
|
|
2019-11-05 21:48:09 +00:00
|
|
|
- Build a program in a given directory:
|
|
|
|
|
|
|
|
`ninja -C {{path/to/directory}}`
|
|
|
|
|
|
|
|
- Show targets (e.g. `install` and `uninstall`):
|
|
|
|
|
|
|
|
`ninja -t targets`
|
|
|
|
|
2023-12-27 06:41:30 +00:00
|
|
|
- Display help:
|
2019-11-05 21:48:09 +00:00
|
|
|
|
|
|
|
`ninja -h`
|