Home Explore Blog Models CI



nixpkgs

1st chunk of `doc/hooks/ninja.section.md`
e4c71192718f845955781ac81b1f582259cce0cf80831bb6000000010000018a
# ninja {#ninja}

Overrides the build, install, and check phase to run ninja instead of make. You can disable this behavior with `dontUseNinjaBuild`, `dontUseNinjaInstall`, and `dontUseNinjaCheck`, respectively. Parallel building is enabled by default in Ninja.

Note that if the [Meson setup hook](#meson) is also active, Ninja's install and check phases will be disabled in favor of Meson's.

Title: Ninja Build System Override
Summary
This section describes the `ninja` hook, which overrides the default build, install, and check phases to use Ninja instead of Make. Parallel building is enabled by default with Ninja. Users can disable these overrides using `dontUseNinjaBuild`, `dontUseNinjaInstall`, and `dontUseNinjaCheck` respectively. It also notes that if the Meson setup hook is active, Meson's install and check phases will take precedence over Ninja's.