diff options
author | Nhalrath <nhal@nhal.xyz> | 2024-04-29 17:44:41 +0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2024-04-29 08:01:59 -0700 |
commit | bb088c50b455eb877dd6fde311d60690f20c8518 (patch) | |
tree | 384e3b61871413723f7d0cf55fd85888e2fc3973 | |
parent | e5f32b74144b9f4a43304fa167899e202c5912b5 (diff) | |
download | meson-bb088c50b455eb877dd6fde311d60690f20c8518.zip meson-bb088c50b455eb877dd6fde311d60690f20c8518.tar.gz meson-bb088c50b455eb877dd6fde311d60690f20c8518.tar.bz2 |
fix typos and grammars in Build-options.md
-rw-r--r-- | docs/markdown/Build-options.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/markdown/Build-options.md b/docs/markdown/Build-options.md index 93e3326..56b2693 100644 --- a/docs/markdown/Build-options.md +++ b/docs/markdown/Build-options.md @@ -6,7 +6,7 @@ short-description: Build options to configure project properties Most non-trivial builds require user-settable options. As an example a program may have two different data backends that are selectable at -build time. Meson provides for this by having a option definition +build time. Meson provides for this by having an option definition file. Its name is `meson.options` and it is placed at the root of your source tree. For versions of meson before 1.1, this file was called `meson_options.txt`. @@ -46,7 +46,7 @@ value is supplied then `true` will be used as the default. ### Combos A combo allows any one of the values in the `choices` parameter to be -selected. If no default value is set then the first value will be the +selected. If no default value is set then the first value will be the default. ### Integers @@ -60,7 +60,7 @@ This type is available since Meson version 0.45.0. ### Arrays Arrays represent an array of strings. By default the array can contain -arbitrary strings. To limit the possible values that can used set the +arbitrary strings. To limit the possible values that can be used set the `choices` parameter. Meson will then only allow the value array to contain strings that are in the given list. The array may be empty. The `value` parameter specifies the default value of the option @@ -75,7 +75,7 @@ This type is available since version 0.44.0 ### Features A `feature` option has three states: `enabled`, `disabled` or `auto`. -It is intended to be passed as value for the `required` keyword +It is intended to be passed as a value for the `required` keyword argument of most functions. Currently supported in [[add_languages]], [[compiler.find_library]], |