aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Reference-manual.md
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2019-11-25 20:16:54 -0500
committerXavier Claessens <xavier.claessens@collabora.com>2020-03-06 15:26:02 -0500
commit8edc6d655d6069dd5e6e7b531701086d774d7529 (patch)
tree25d64663547ad2c5faf279bd8dda08e8c8e12526 /docs/markdown/Reference-manual.md
parent141401c11d8900775a15a91ee6ca4dbeac2dfe87 (diff)
downloadmeson-8edc6d655d6069dd5e6e7b531701086d774d7529.zip
meson-8edc6d655d6069dd5e6e7b531701086d774d7529.tar.gz
meson-8edc6d655d6069dd5e6e7b531701086d774d7529.tar.bz2
Improve logged messages for overriden dependencies
Diffstat (limited to 'docs/markdown/Reference-manual.md')
-rw-r--r--docs/markdown/Reference-manual.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md
index b4d2333..9bb7911 100644
--- a/docs/markdown/Reference-manual.md
+++ b/docs/markdown/Reference-manual.md
@@ -1839,7 +1839,10 @@ the following methods.
0.54.0)*](Release-notes-for-0.54.0.md#override-dependency)
specifies that whenever `dependency(name, ...)` is used, Meson should not
look it up on the system but instead return `dep_object`, which may either be
- the result of `dependency()` or `declare_dependency()`.
+ the result of `dependency()` or `declare_dependency()`. It takes optional
+ `native` keyword arguments. Doing this in a subproject allows the parent
+ project to retrieve the dependency without having to know the dependency
+ variable name: `dependency(name, fallback : subproject_name)`.
- `project_version()` returns the version string specified in
`project` function call.