diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-12-17 21:02:31 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-12-17 21:03:57 +0530 |
commit | d42a3ae05ffb0495ccff913b9b759e3ad6bd92d1 (patch) | |
tree | 22f68751684e81cb6ddeb8aefd490d74a6fdf261 /docs/markdown/Reference-manual.md | |
parent | b4347ca4a98b148ba7f7908c3d96f393294df122 (diff) | |
download | meson-d42a3ae05ffb0495ccff913b9b759e3ad6bd92d1.zip meson-d42a3ae05ffb0495ccff913b9b759e3ad6bd92d1.tar.gz meson-d42a3ae05ffb0495ccff913b9b759e3ad6bd92d1.tar.bz2 |
Document dependency().name() added in 0.48 [skip ci]
Closes https://github.com/mesonbuild/meson/issues/3351
Diffstat (limited to 'docs/markdown/Reference-manual.md')
-rw-r--r-- | docs/markdown/Reference-manual.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index bd73678..0625f96 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -2070,6 +2070,10 @@ an external dependency with the following methods: - `found()` which returns whether the dependency was found + - `name()` *(Added 0.48.0)* returns the name of the dependency that was + searched. Returns `internal` for dependencies created with + `declare_dependency()`. + - `get_pkgconfig_variable(varname)` *(Added 0.36.0)* will get the pkg-config variable specified, or, if invoked on a non pkg-config dependency, error out. *(Added 0.44.0)* You can also redefine a |