diff options
author | Simon Ser <contact@emersion.fr> | 2021-04-15 09:45:53 +0200 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2021-04-15 08:19:57 -0400 |
commit | c1a8f00d789550c2d4b5c62f8f1801e2328532b3 (patch) | |
tree | 5453f3736f0b920efd93e53863db0833e80ed019 /docs | |
parent | e7ceab751047c3c4a8e5b3fb714cd8203ae460dc (diff) | |
download | meson-c1a8f00d789550c2d4b5c62f8f1801e2328532b3.zip meson-c1a8f00d789550c2d4b5c62f8f1801e2328532b3.tar.gz meson-c1a8f00d789550c2d4b5c62f8f1801e2328532b3.tar.bz2 |
docs: document default version for declare_dependency()
By default, the project version is picked.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/markdown/Reference-manual.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index 916083c..fbef6a9 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -443,7 +443,8 @@ keyword arguments: - `link_whole` *(since 0.46.0)*: libraries to link fully, same as [`executable`](#executable). - `sources`: sources to add to targets (or generated header files that should be built before sources including them are built) -- `version`: the version of this dependency, such as `1.2.3` +- `version`: the version of this dependency, such as `1.2.3`. Defaults to the + project version. - `variables` *(since 0.54.0)*: a dictionary of arbitrary strings, this is meant to be used in subprojects where special variables would be provided via cmake or pkg-config. *since 0.56.0* it can also be a list of `'key=value'` strings. |