parent
6c6b5d77d6
commit
4bde7f31ae
15 changed files with 46 additions and 43 deletions
@ -1,5 +1,5 @@ |
||||
## CMake find_package version support |
||||
## CMake `find_package` version support |
||||
|
||||
It is now possible to specify a requested package version to the CMake |
||||
It is now possible to specify a requested package version for the CMake |
||||
dependency backend via the new `cmake_package_version` kwarg in the |
||||
`dependency` function. |
||||
|
@ -1,11 +1,11 @@ |
||||
## Specify DESTDIR on command line |
||||
|
||||
`meson install` command now has `--destdir` argument that overrides DESTDIR |
||||
`meson install` command now has a `--destdir` argument that overrides `DESTDIR` |
||||
from environment. |
||||
|
||||
## Skip install scripts if DESTDIR is set |
||||
|
||||
`meson.add_install_script()` now has `skip_if_destdir` keyword argument. If set |
||||
to `true` the script won't be run if DESTDIR is set during installation. This is |
||||
useful in the case the script updates system wide cache that is only needed when |
||||
copying files into final destination. |
||||
to `true` the script won't be run if `DESTDIR` is set during installation. This is |
||||
useful in the case the script updates system wide caches, or performs other tasks |
||||
that are only needed when copying files into final destination. |
||||
|
@ -1,5 +1,5 @@ |
||||
## Rust now has a a standard option |
||||
## Rust now has an `std` option |
||||
|
||||
Rust calls these `editions`, however, meson generally refers to such language |
||||
versions as "standards", or "std" for short. Rust uses "std" to keep normalize |
||||
it with other languages. |
||||
Rust calls these `editions`, however, Meson generally refers to such language |
||||
versions as "standards", or `std` for short. Therefore, Meson's Rust support |
||||
uses `std` for consistency with other languages. |
||||
|
@ -1,4 +1,4 @@ |
||||
## Meson test() now accepts `protocol : 'rust'` |
||||
|
||||
This allows native rust tests to be run and parsed by meson, simply set the |
||||
protocol to `rust` and meson takes care of the rest. |
||||
This allows native Rust tests to be run and parsed by Meson; simply set the |
||||
protocol to `rust` and Meson takes care of the rest. |
||||
|
@ -1,4 +1,4 @@ |
||||
## summary() now uses left alignment for all values |
||||
## `summary()` now uses left alignment for both keys and values |
||||
|
||||
Previously it aligned toward the center, but this was deemed harder to read |
||||
than all left aligned. |
||||
Previously it aligned keys toward the center, but this was deemed harder |
||||
to read than having everything left aligned. |
||||
|
@ -1,4 +1,4 @@ |
||||
## Untable Rust module |
||||
|
||||
A new unstable module has been added to make using rust with meson easier. |
||||
Currently it adds a single function to ease defining rust tests. |
||||
A new unstable module has been added to make using Rust with meson easier. |
||||
Currently it adds a single function to ease defining Rust tests. |
||||
|
@ -1,12 +1,12 @@ |
||||
## Project version can be specified with a file |
||||
|
||||
Meson can be instructed to load project's version string from an |
||||
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 and that will |
||||
be set as the project's version. If the line ends in a newline |
||||
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. |
||||
|
Loading…
Reference in new issue