blob: a18803ecdee00763734be1355131ae666671eb0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
## Project version can be specified with a file
Meson can be instructed to load a project's version string from an
external file like this:
```meson
project('foo', 'c' version: files('VERSION'))
```
The version file must contain exactly one line of text which will
be used as the project's version. If the line ends in a newline
character, it is removed.
|