aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/IDE-integration.md
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2019-12-05 11:42:50 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2019-12-10 20:17:21 +0200
commitfc800a2cb8cb754e55db1b6ede287079d44dc244 (patch)
tree7c6bdfd3f92594968c7ec6b08485eb99c6e9dbda /docs/markdown/IDE-integration.md
parent38d3fbca9465e4c89e479be5a98b5085a7f83039 (diff)
downloadmeson-fc800a2cb8cb754e55db1b6ede287079d44dc244.zip
meson-fc800a2cb8cb754e55db1b6ede287079d44dc244.tar.gz
meson-fc800a2cb8cb754e55db1b6ede287079d44dc244.tar.bz2
mintro: Add version key to --scan-dependencies (fixes #6287)
Diffstat (limited to 'docs/markdown/IDE-integration.md')
-rw-r--r--docs/markdown/IDE-integration.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/markdown/IDE-integration.md b/docs/markdown/IDE-integration.md
index 88043d3..1c66d53 100644
--- a/docs/markdown/IDE-integration.md
+++ b/docs/markdown/IDE-integration.md
@@ -207,6 +207,7 @@ The output format is as follows:
{
"name": "The name of the dependency",
"required": true,
+ "version": [">=1.2.3"],
"conditional": false,
"has_fallback": false
}
@@ -219,7 +220,10 @@ in the `meson.build` (all dependencies are required by default). The
inside a conditional block. In a real meson run these dependencies might not be
used, thus they _may_ not be required, even if the `required` key is set. The
`has_fallback` key just indicates whether a fallback was directly set in the
-`dependency()` function.
+`dependency()` function. The `version` key always contains a list of version
+requirements from the `meson.build` and **not** the actual version of the
+dependency on disc. The version list is empty if no version was specified
+in the `meson.build`.
## Tests