From 50baf3c626267252a2d943a49d8e7c0402e23218 Mon Sep 17 00:00:00 2001 From: Nomura Date: Wed, 2 Aug 2023 22:34:39 +0200 Subject: Add default_options argument to find_program() --- docs/yaml/functions/find_program.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'docs/yaml/functions') 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) -- cgit v1.1