···
3
-
Overrides the configure phase to run meson to generate Ninja files. To run these files, you should accompany Meson with ninja. By default, `enableParallelBuilding` is enabled as Meson supports parallel building almost everywhere.
3
+
Overrides the configure, check, and install phases to run `meson setup`, `meson test`, and `meson install`.
5
+
Meson is a meta-build system so you will need a secondary build system to run the generated build files in build phase. In Nixpkgs context, you will want to accompany Meson with ninja, which provides a [setup hook](#ninja) registering a ninja-based build phase.
7
+
By default, `enableParallelBuilding` is enabled as Meson supports parallel building almost everywhere.
## Variables controlling Meson {#variables-controlling-meson}
### `mesonFlags` {#mesonflags}
9
-
Controls the flags passed to meson.
13
+
Controls the flags passed to `meson setup`.
15
+
##### `mesonCheckFlags` {#mesoncheckflags}
17
+
Controls the flags passed to `meson test`.
19
+
##### `mesonInstallFlags` {#mesoninstallflags}
21
+
Controls the flags passed to `meson install`.
### `mesonBuildType` {#mesonbuildtype}
13
-
Which [`--buildtype`](https://mesonbuild.com/Builtin-options.html#core-options) to pass to Meson. We default to `plain`.
25
+
Which [`--buildtype`](https://mesonbuild.com/Builtin-options.html#core-options) to pass to `meson setup`. We default to `plain`.
### `mesonAutoFeatures` {#mesonautofeatures}
···
### `dontUseMesonConfigure` {#dontusemesonconfigure}
Disables using Meson’s `configurePhase`.
39
+
##### `dontUseMesonCheck` {#dontusemesoncheck}
41
+
Disables using Meson’s `checkPhase`.
43
+
##### `dontUseMesonInstall` {#dontusemesoninstall}
45
+
Disables using Meson’s `installPhase`.