mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
meson/setup-hook.sh: make build directory configurable
This commit is contained in:
parent
968e5b2ab2
commit
1ceba9367c
2 changed files with 14 additions and 2 deletions
|
@ -18,6 +18,16 @@ setup hook registering ninja-based build and install phases.
|
|||
|
||||
Controls the flags passed to `meson setup` during configure phase.
|
||||
|
||||
#### `mesonBuildDir` {#meson-build-dir}
|
||||
|
||||
Directory where Meson will put intermediate files.
|
||||
|
||||
Setting this can be useful for debugging multiple Meson builds while in the same source directory, for example, when building for different platforms.
|
||||
Different values for each build will prevent build artefacts from interefering with each other.
|
||||
This setting has no tangible effect when running the build in a sandboxed derivation.
|
||||
|
||||
The default value is `build`.
|
||||
|
||||
#### `mesonWrapMode` {#meson-wrap-mode}
|
||||
|
||||
Which value is passed as
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue