diff options
| author | Tristan Partin <tristan@partin.io> | 2024-04-24 19:51:35 -0500 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2024-05-01 11:20:27 -0700 |
| commit | a0ff14551266c87919f5b4b1469b7be0ef0a052e (patch) | |
| tree | 0313a2d220f02957d48bd83f3094de43b1413485 /docs/yaml/objects/compiler.yaml | |
| parent | f1f24816a912bacbb32931bfbd034be36138e3e4 (diff) | |
| download | meson-a0ff14551266c87919f5b4b1469b7be0ef0a052e.tar.gz | |
Add required kwarg to compiler.{compiles,links,run}
This is a similar commit to the one that added required to all the
compiler.has* functions.
Diffstat (limited to 'docs/yaml/objects/compiler.yaml')
| -rw-r--r-- | docs/yaml/objects/compiler.yaml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/yaml/objects/compiler.yaml b/docs/yaml/objects/compiler.yaml index c86ef7f4c..cd988a683 100644 --- a/docs/yaml/objects/compiler.yaml +++ b/docs/yaml/objects/compiler.yaml @@ -121,6 +121,16 @@ methods: - name: _compiles returns: void description: You have found a bug if you can see this! + kwargs: + required: + type: bool | feature + default: false + since: 1.5.0 + description: + When set to `true`, Meson will halt if the check fails. + + When set to a [`feature`](Build-options.md#features) option, the feature + will control if it is searched and whether to fail if not found. kwargs_inherit: - compiler._args - compiler._include_directories |
