aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2021-05-12 10:07:10 -0400
committerXavier Claessens <xclaesse@gmail.com>2021-05-12 10:44:13 -0400
commit44acefd8365c0ccca428e5ef69153c059aa8e575 (patch)
tree42edc22e330e4a5405bea363702ac3ff9becd894 /docs
parentc54dd63547b030e3d9feee694ec6f49c434f0df8 (diff)
downloadmeson-44acefd8365c0ccca428e5ef69153c059aa8e575.zip
meson-44acefd8365c0ccca428e5ef69153c059aa8e575.tar.gz
meson-44acefd8365c0ccca428e5ef69153c059aa8e575.tar.bz2
doc: Add example how to use devenv
Fixes: #8758
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/Reference-manual.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md
index 8624138..103f4d8 100644
--- a/docs/markdown/Reference-manual.md
+++ b/docs/markdown/Reference-manual.md
@@ -2122,6 +2122,15 @@ the following methods.
...
meson.add_devenv(devenv)
```
+ After configuring and compiling that project, a terminal can be opened with
+ the environment set:
+ ```sh
+ $ meson devenv -C <builddir>
+ $ echo $PLUGINS_PATH
+ /path/to/source/subdir
+ ```
+ See (`meson devenv`)[Commands.md#devenv] command documentation for a list of
+ environment variables that are set by default by Meson.
### `build_machine` object