diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2021-01-27 20:01:43 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-01-27 23:36:15 +0200 |
commit | d51c368415c4e04a6038b664d6ab18857531564e (patch) | |
tree | 9c3c400e36f1b758f7be2008ac79461f0687b102 /docs/markdown/Reference-manual.md | |
parent | 633264984b4b2278491476a0997193ff4996b3a6 (diff) | |
download | meson-versionfromfile.tar.gz |
Can read project version from a file.versionfromfile
Diffstat (limited to 'docs/markdown/Reference-manual.md')
-rw-r--r-- | docs/markdown/Reference-manual.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index f758e71e5..f26466d8f 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -1432,7 +1432,9 @@ Project supports the following keyword arguments. - `version`: which is a free form string describing the version of this project. You can access the value in your Meson build files - with `meson.project_version()`. + with `meson.project_version()`. Since 0.57.0 this can also be a + `File` object pointing to a file that contains exactly one line of + text. ### run_command() |