From 44acefd8365c0ccca428e5ef69153c059aa8e575 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Wed, 12 May 2021 10:07:10 -0400 Subject: doc: Add example how to use devenv Fixes: #8758 --- docs/markdown/Reference-manual.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index 8624138f1..103f4d85c 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 + $ 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 -- cgit v1.2.3