diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2021-02-20 12:04:01 -0500 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2021-03-16 09:00:50 -0400 |
commit | 598e968993da58c89f773dc732c708a54b0ec8db (patch) | |
tree | 7aff62faa24d580ea64fdcf65922c7f0d109a712 /docs/markdown/Reference-manual.md | |
parent | 567c96b68b1dfe3cd6b52b0d26dfc78e5c0e6b76 (diff) | |
download | meson-598e968993da58c89f773dc732c708a54b0ec8db.zip meson-598e968993da58c89f773dc732c708a54b0ec8db.tar.gz meson-598e968993da58c89f773dc732c708a54b0ec8db.tar.bz2 |
Add `meson devenv` command and meson.add_devenv()
Diffstat (limited to 'docs/markdown/Reference-manual.md')
-rw-r--r-- | docs/markdown/Reference-manual.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index 47e1afd..3af00c4 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -2055,6 +2055,19 @@ the following methods. - `version()`: return a string with the version of Meson. +- `add_devenv()`: *(Since 0.58.0)* add an [`environment()`](#environment) object + to the list of environments that will be applied when using [`meson devenv`](Commands.md#devenv) + command line. This is useful for developpers who wish to use the project without + installing it, it is often needed to set for example the path to plugins + directory, etc. Alternatively, a list or dictionary can be passed as first + argument. + ``` meson + devenv = environment() + devenv.set('PLUGINS_PATH', meson.current_build_dir()) + ... + meson.add_devenv(devenv) + ``` + ### `build_machine` object Provides information about the build machine — the machine that is |