diff options
Diffstat (limited to 'docs/markdown/snippets/pkg_idep_variables.md')
-rw-r--r-- | docs/markdown/snippets/pkg_idep_variables.md | 12 |
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) -``` |