about summary refs log tree commit diff
diff options
context:
space:
mode:
authorValentin Gagarin <valentin@gagarin.work>2024-09-18 22:21:36 +0200
committerValentin Gagarin <valentin@gagarin.work>2024-09-18 22:21:36 +0200
commitf8567231a2f72e24a95d6d6f7ef132d30e4241b2 (patch)
tree9a662e4c0fcb9a6704ccfaac2160fa57a9ecaa37
parente365541c390eeff9417152dd5821cf16ea3f0554 (diff)
add documentation mesonBuildDir
-rw-r--r--doc/hooks/meson.section.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/hooks/meson.section.md b/doc/hooks/meson.section.md
index 3a7fb50320827..c3cd89b12e897 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