summaryrefslogtreecommitdiff
path: root/docs/yaml
diff options
context:
space:
mode:
authorunknown <vid512@gmail.com>2024-09-20 08:48:54 +0200
committerDylan Baker <dylan@pnwbakers.com>2024-09-21 08:17:41 -0700
commitcbbe455ba4f7da2d9056023d8e8647da96eeaf09 (patch)
tree28c972db892c1a220e0b2330f1d331b67d8b547e /docs/yaml
parentc8b463491c3dac4f21120ff9cbc2de491e2b66c9 (diff)
downloadmeson-cbbe455ba4f7da2d9056023d8e8647da96eeaf09.tar.gz
Document get_variable(system)
Diffstat (limited to 'docs/yaml')
-rw-r--r--docs/yaml/objects/dep.yaml7
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/yaml/objects/dep.yaml b/docs/yaml/objects/dep.yaml
index 28d93d79f..ffd19f797 100644
--- a/docs/yaml/objects/dep.yaml
+++ b/docs/yaml/objects/dep.yaml
@@ -191,7 +191,7 @@ methods:
since: 0.58.0
description: |
This argument is used as a default value
- for `cmake`, `pkgconfig`, `configtool` and `internal` keyword
+ for `cmake`, `pkgconfig`, `configtool`, `internal` and `system` 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')`.
@@ -214,6 +214,11 @@ methods:
since: 0.54.0
description: The internal variable name
+ system:
+ type: str
+ since: 1.6.0
+ description: The system variable name
+
default_value:
type: str
description: The default value to return when the variable does not exist