aboutsummaryrefslogtreecommitdiff
path: root/docs/yaml/functions/project.yaml
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2023-03-01 12:21:56 -0800
committerDylan Baker <dylan@pnwbakers.com>2023-06-20 16:10:20 -0700
commitbe20e0809f3cee518a49f4c22ce3ca19319ebb33 (patch)
tree0ad524dad972c023255f49329b810e34d13631aa /docs/yaml/functions/project.yaml
parentd0cbda99a3932f2a66c40ba1e1cfe6332e6b68bb (diff)
downloadmeson-be20e0809f3cee518a49f4c22ce3ca19319ebb33.zip
meson-be20e0809f3cee518a49f4c22ce3ca19319ebb33.tar.gz
meson-be20e0809f3cee518a49f4c22ce3ca19319ebb33.tar.bz2
interpreter: allow default_options and override_options as a dict
Diffstat (limited to 'docs/yaml/functions/project.yaml')
-rw-r--r--docs/yaml/functions/project.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/yaml/functions/project.yaml b/docs/yaml/functions/project.yaml
index 59595cd..6eb7adc 100644
--- a/docs/yaml/functions/project.yaml
+++ b/docs/yaml/functions/project.yaml
@@ -38,7 +38,7 @@ varargs:
kwargs:
default_options:
- type: list[str]
+ type: list[str] | dict[str]
description: |
Accepts strings in the form `key=value`
which have the same format as options to `meson configure`.
@@ -54,6 +54,8 @@ kwargs:
environment variable is not used. Consider using
[[add_project_arguments()]] instead.
+ *(since 1.2.0)*: A dictionary may now be passed.
+
version:
type: str | file
description: |