summaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/pkg_idep_variables.md
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2020-10-30 10:25:24 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2020-10-30 10:25:24 +0200
commitf16d31607eb3cd0f281758bd0944e206ef6be387 (patch)
tree0b711c4b63a55049eecfbaff95bf2ea386a4956e /docs/markdown/snippets/pkg_idep_variables.md
parent712cbe056811ebdf0d7358ba07a874717a1c736f (diff)
downloadmeson-f16d31607eb3cd0f281758bd0944e206ef6be387.tar.gz
Bump version number for release. This is the 10 000th commit!0.56.0
Diffstat (limited to 'docs/markdown/snippets/pkg_idep_variables.md')
-rw-r--r--docs/markdown/snippets/pkg_idep_variables.md12
1 files changed, 0 insertions, 12 deletions
diff --git a/docs/markdown/snippets/pkg_idep_variables.md b/docs/markdown/snippets/pkg_idep_variables.md
deleted file mode 100644
index 4e69b18e3..000000000
--- a/docs/markdown/snippets/pkg_idep_variables.md
+++ /dev/null
@@ -1,12 +0,0 @@
-## Consistency between `declare_dependency()` and `pkgconfig.generate()` variables
-
-The `variables` keyword argument in `declare_dependency()` used to only support
-dictionary and `pkgconfig.generate()` only list of strings. They now both support
-dictionary and list of strings in the format `'name=value'`. This makes easier
-to share a common set of variables for both:
-
-```meson
-vars = {'foo': 'bar'}
-dep = declare_dependency(..., variables: vars)
-pkg.generate(..., variables: vars)
-```