fix typos and grammars in Build-options.md
This commit is contained in:
parent
e5f32b7414
commit
bb088c50b4
|
@ -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`.
|
||||
|
@ -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]],
|
||||
|
|
Loading…
Reference in New Issue