The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
302 B
12 lines
302 B
4 years ago
|
## custom_target() now accepts `env` keyword argument
|
||
|
|
||
|
Environment variables can now be passed to `custom_target()` command.
|
||
|
|
||
|
```meson
|
||
|
env = environment()
|
||
|
env.append('PATH', '/foo')
|
||
|
custom_target(..., env: env)
|
||
|
custom_target(..., env: {'MY_ENV': 'value'})
|
||
|
custom_target(..., env: ['MY_ENV=value'])
|
||
|
```
|