clarify old behaviour of set_variable in documentation [skip ci]

Thanks to PR #3483, set_variable can be used to assign array values.
However, the fact that it cannot be used for arrays before 0.46.1 needs
a mention in the documentation, since otherwise users can get unexpected
dependencies on later meson versions.
This commit is contained in:
Bruce Richardson 2018-09-18 12:03:54 +01:00 committed by Jussi Pakkanen
parent bc4bf03871
commit 9a29496a9b
1 changed files with 3 additions and 0 deletions

View File

@ -1172,6 +1172,9 @@ and subdirectory the target was defined in, respectively.
Assigns a value to the given variable name. Calling
`set_variable('foo', bar)` is equivalent to `foo = bar`.
**Note:** Prior to v0.46.1, the `value` parameter could not be an
array type, due to flattening of the function parameters.
### shared_library()
``` meson