From 262eeb7e9ee48ecc3ab7789f479f53cdc42037b5 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Mon, 12 Feb 2018 21:36:03 +0200 Subject: Clarify that int options are available since 0.45.0. --- docs/markdown/Build-options.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'docs') 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 -- cgit v1.1