From 9a29496a9b8caad2834e8ab139fbd7affed7d92c Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Tue, 18 Sep 2018 12:03:54 +0100 Subject: 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. --- docs/markdown/Reference-manual.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/markdown') diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index b616d3e..884c31f 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -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 -- cgit v1.1