mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-09 03:57:42 +00:00
Update cheatsheets
This commit is contained in:
29
ninja
Normal file
29
ninja
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# ninja
|
||||
|
||||
> A Build system designed to be fast.
|
||||
> More information: <https://ninja-build.org/manual.html>.
|
||||
|
||||
- Build in the current directory:
|
||||
|
||||
`ninja`
|
||||
|
||||
- Build in the current directory, executing 4 jobs at a time in parallel:
|
||||
|
||||
`ninja -j {{4}}`
|
||||
|
||||
- Build a program in a given directory:
|
||||
|
||||
`ninja -C {{path/to/directory}}`
|
||||
|
||||
- Show targets (e.g. `install` and `uninstall`):
|
||||
|
||||
`ninja -t targets`
|
||||
|
||||
- Display help:
|
||||
|
||||
`ninja -h`
|
||||
Reference in New Issue
Block a user