Document pkgconfig.generate() requires parameters

pull/3131/head
Aleksey Filippov 7 years ago
parent d6b5d7fe9f
commit 2377f22ea5
  1. 5
      docs/markdown/Pkgconfig-module.md
  2. 5
      docs/markdown/snippets/pkgconfig-requires-non-string.md

@ -38,8 +38,9 @@ keyword arguments.
search path, for example if you install headers into search path, for example if you install headers into
`${PREFIX}/include/foobar-1`, the correct value for this argument `${PREFIX}/include/foobar-1`, the correct value for this argument
would be `foobar-1` would be `foobar-1`
- `requires` list of strings to put in the `Requires` field - `requires` list of strings, pkgconfig-dependencies or libraries that
- `requires_private` list of strings to put in the `Requires.private` `pkgconfig.generate()` was used on to put in the `Requires` field
- `requires_private` same as `requires` but for `Requires.private` field
field field
- `url` a string with a url for the library - `url` a string with a url for the library
- `variables` a list of strings with custom variables to add to the - `variables` a list of strings with custom variables to add to the

@ -0,0 +1,5 @@
# pkgconfig.generate() requires parameters non-string arguments
`pkgconfig.generate()` `requires` and `requires_private` parameters
accept pkgconfig-dependencies and libraries that pkgconfig-files were
generated for.
Loading…
Cancel
Save