aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/meson_home.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/markdown/snippets/meson_home.md b/docs/markdown/snippets/meson_home.md
new file mode 100644
index 0000000..2d656fc
--- /dev/null
+++ b/docs/markdown/snippets/meson_home.md
@@ -0,0 +1,7 @@
+## New environment variable `MESON_PACKAGE_CACHE_DIR`
+
+If the `MESON_PACKAGE_CACHE_DIR` environment variable is set, it is used instead of the
+project's `subprojects/packagecache`. This allows sharing the cache across multiple
+projects. In addition it can contain an already extracted source tree as long as it
+has the same directory name as the `directory` field in the wrap file. In that
+case, the directory will be copied into `subprojects/` before applying patches.