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.
9 lines
423 B
9 lines
423 B
4 years ago
|
## `dep.get_variable(varname)`
|
||
|
|
||
|
`dep.get_variable()` now has `varname` as first positional argument.
|
||
|
It is used as default value for `cmake`, `pkgconfig`, `configtool` and `internal`
|
||
|
keyword arguments. It is useful in the common case where `pkgconfig` and `internal`
|
||
|
use the same variable name, in which case it's easier to write `dep.get_variable('foo')`
|
||
|
instead of `dep.get_variable(pkgconfig: 'foo', internal: 'foo')`.
|
||
|
|