diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2018-02-12 21:36:03 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-02-12 21:36:03 +0200 |
commit | 262eeb7e9ee48ecc3ab7789f479f53cdc42037b5 (patch) | |
tree | 71f5e89e291f6d7a5c016b1d1654814989856cee | |
parent | e0ec5491a0e2fbb996f03242b065ac0b66dee907 (diff) | |
download | meson-262eeb7e9ee48ecc3ab7789f479f53cdc42037b5.zip meson-262eeb7e9ee48ecc3ab7789f479f53cdc42037b5.tar.gz meson-262eeb7e9ee48ecc3ab7789f479f53cdc42037b5.tar.bz2 |
Clarify that int options are available since 0.45.0.
-rw-r--r-- | docs/markdown/Build-options.md | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/markdown/Build-options.md b/docs/markdown/Build-options.md index 74d2355..f70dda5 100644 --- a/docs/markdown/Build-options.md +++ b/docs/markdown/Build-options.md @@ -16,7 +16,7 @@ Here is a simple option file. option('someoption', type : 'string', value : 'optval', description : 'An option') option('other_one', type : 'boolean', value : false) option('combo_opt', type : 'combo', choices : ['one', 'two', 'three'], value : 'three') -option('integer_opt', type : 'integer', min : 0, max : 5, value : 3) +option('integer_opt', type : 'integer', min : 0, max : 5, value : 3) # Since 0.45.0 option('free_array_opt', type : 'array', value : ['one', 'two']) option('array_opt', type : 'array', choices : ['one', 'two', 'three'], value : ['one', 'two']) ``` @@ -44,7 +44,9 @@ default. An integer option contains a single integer with optional upper and lower values that are specified with the `min` and `max` keyword -arguments. Available since Meson version 0.45.0. +arguments. + +This type is available since Meson version 0.45.0. ### Arrays @@ -56,7 +58,7 @@ empty. The `value` parameter specifies the default value of the option and if it is unset then the values of `choices` will be used as the default. -This type is new in version 0.44.0 +This type is available since version 0.44.0 ## Using build options |