diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2018-08-16 13:06:13 +0100 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2018-08-26 17:23:39 +0100 |
commit | 7fff8318f537400249f191eda373c716e5ba2bee (patch) | |
tree | ac6adbd21c5d1234770ee7ace937e391785717b1 /docs/markdown/Reference-manual.md | |
parent | dadf6e2233f15beff6b544850fee7bfa765e951e (diff) | |
download | meson-7fff8318f537400249f191eda373c716e5ba2bee.zip meson-7fff8318f537400249f191eda373c716e5ba2bee.tar.gz meson-7fff8318f537400249f191eda373c716e5ba2bee.tar.bz2 |
Add a release note snippet
Also adjust relevant documentation
Diffstat (limited to 'docs/markdown/Reference-manual.md')
-rw-r--r-- | docs/markdown/Reference-manual.md | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index 6cf7552..6d2b2da 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -380,11 +380,12 @@ otherwise. This function supports the following keyword arguments: - `static` tells the dependency provider to try to get static libraries instead of dynamic ones (note that this is not supported by all dependency backends) -- `version`, specifies the required version, a string containing a +- `version` specifies the required version, a string containing a comparison operator followed by the version string, examples include `>1.0.0`, `<=2.3.5` or `3.1.4` for exact matching. (*Added 0.37.0*) You can also specify multiple restrictions by passing a list to this keyword argument, such as: `['>=3.14.0', '<=4.1.0']`. + These requirements are never met if the version is unknown. - other [library-specific](Dependencies.md#dependencies-with-custom-lookup-functionality) keywords may also be accepted (e.g. `modules` specifies submodules to use for @@ -1986,7 +1987,9 @@ an external dependency with the following methods: with `declare_dependency()` and `pkgconfig` for system dependencies obtained with Pkg-config. - - `version()` is the version number as a string, for example `1.2.8` + - `version()` is the version number as a string, for example `1.2.8`. + `unknown` if the dependency provider doesn't support determining the + version. - `partial_dependency(compile_args : false, link_args : false, links : false, includes : false, source : false)` (*added 0.46.0*) returns |