diff options
| author | Valentin Gagarin <valentin@gagarin.work> | 2024-09-18 22:21:36 +0200 |
|---|---|---|
| committer | Valentin Gagarin <valentin@gagarin.work> | 2024-09-18 22:21:36 +0200 |
| commit | f8567231a2f72e24a95d6d6f7ef132d30e4241b2 (patch) | |
| tree | 9a662e4c0fcb9a6704ccfaac2160fa57a9ecaa37 | |
| parent | meson/setup-hook.sh: make build directory configurable (diff) | |
| download | nixpkgs-origin/mesonBuildDir.tar.gz | |
add documentationorigin/mesonBuildDir
| -rw-r--r-- | doc/hooks/meson.section.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/hooks/meson.section.md b/doc/hooks/meson.section.md index 3a7fb5032082..c3cd89b12e89 100644 --- a/doc/hooks/meson.section.md +++ b/doc/hooks/meson.section.md @@ -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 |
