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.
17 lines
329 B
17 lines
329 B
3 years ago
|
## `unset_variable()`
|
||
|
|
||
|
`unset_variable()` can be used to unset a variable. Reading a variable after
|
||
|
calling `unset_variable()` will raise an exception unless the variable is set
|
||
|
again.
|
||
|
|
||
|
```meson
|
||
|
# tests/meson.build
|
||
|
tests = ['test1', 'test2']
|
||
|
|
||
|
# ...
|
||
|
|
||
|
unset_variable('tests')
|
||
|
|
||
|
# tests is no longer usable until it is set again
|
||
|
```
|