1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 01:22:08 +02:00
tldr/pages/common/ninja.md
2023-07-27 16:11:07 +09:00

414 B

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

  • Show help:

ninja -h