aboutsummaryrefslogtreecommitdiff
path: root/docs/yaml
diff options
context:
space:
mode:
authorNomura <nomura.rh@gmail.com>2023-08-02 22:34:39 +0200
committerXavier Claessens <xclaesse@gmail.com>2023-08-04 14:46:39 -0400
commit50baf3c626267252a2d943a49d8e7c0402e23218 (patch)
tree3b50e104ec4cf1d484693e5ef903b6147ef8b3c2 /docs/yaml
parent183e4b8e903c6c4c057d09549e669d6292478a4e (diff)
downloadmeson-50baf3c626267252a2d943a49d8e7c0402e23218.zip
meson-50baf3c626267252a2d943a49d8e7c0402e23218.tar.gz
meson-50baf3c626267252a2d943a49d8e7c0402e23218.tar.bz2
Add default_options argument to find_program()
Diffstat (limited to 'docs/yaml')
-rw-r--r--docs/yaml/functions/find_program.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/yaml/functions/find_program.yaml b/docs/yaml/functions/find_program.yaml
index 537bbc5..3153bd3 100644
--- a/docs/yaml/functions/find_program.yaml
+++ b/docs/yaml/functions/find_program.yaml
@@ -113,3 +113,13 @@ kwargs:
type: list[str]
since: 0.53.0
description: extra list of absolute paths where to look for program names.
+
+ default_options:
+ type: list[str] | dict[str | bool | int | list[str]]
+ since: 1.3.0
+ description: |
+ An array of default option values
+ that override those set in the subproject's `meson.options`
+ (like `default_options` in [[project]], they only have
+ effect when Meson is run for the first time, and command line
+ arguments override any default options in build files)