diff options
author | Bruce Richardson <bruce.richardson@intel.com> | 2018-09-18 12:03:54 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-09-20 19:00:42 +0300 |
commit | 9a29496a9b8caad2834e8ab139fbd7affed7d92c (patch) | |
tree | 17b9b8d7f485b36e97943429f578d4d7718a20eb /docs | |
parent | bc4bf03871883b045d3d90b8ff4884d38a1d5484 (diff) | |
download | meson-9a29496a9b8caad2834e8ab139fbd7affed7d92c.zip meson-9a29496a9b8caad2834e8ab139fbd7affed7d92c.tar.gz meson-9a29496a9b8caad2834e8ab139fbd7affed7d92c.tar.bz2 |
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.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/markdown/Reference-manual.md | 3 |
1 files changed, 3 insertions, 0 deletions
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 |