diff options
Diffstat (limited to 'docs/markdown/snippets/devenv.md')
-rw-r--r-- | docs/markdown/snippets/devenv.md | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/docs/markdown/snippets/devenv.md b/docs/markdown/snippets/devenv.md deleted file mode 100644 index bffa5fa..0000000 --- a/docs/markdown/snippets/devenv.md +++ /dev/null @@ -1,37 +0,0 @@ -## Bash completion scripts sourced in `meson devenv` - -If bash-completion scripts are being installed and the shell is bash, they will -be automatically sourced. - -## Setup GDB auto-load for `meson devenv` - -When GDB helper scripts (*-gdb.py, *-gdb.gdb, and *-gdb.csm) are installed with -a library name that matches one being built, Meson adds the needed auto-load -commands into `<builddir>/.gdbinit` file. When running gdb from top build -directory, that file is loaded by gdb automatically. - -## Print modified environment variables with `meson devenv --dump` - -With `--dump` option, all envorinment variables that have been modified are -printed instead of starting an interactive shell. It can be used by shell -scripts that wish to setup their environment themself. - -## New `method` and `separator` kwargs on `environment()` and `meson.add_devenv()` - -It simplifies this common pattern: -```meson -env = environment() -env.prepend('FOO', ['a', 'b'], separator: ',') -meson.add_devenv(env) -``` - -becomes one line: -```meson -meson.add_devenv({'FOO': ['a', 'b']}, method: 'prepend', separator: ',') -``` - -or two lines: -```meson -env = environment({'FOO': ['a', 'b']}, method: 'prepend', separator: ',') -meson.add_devenv(env) -``` |