diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/markdown/Pkgconfig-module.md | 7 | ||||
-rw-r--r-- | docs/markdown/snippets/pkgconfig_gen_ct.md | 5 |
2 files changed, 10 insertions, 2 deletions
diff --git a/docs/markdown/Pkgconfig-module.md b/docs/markdown/Pkgconfig-module.md index 35396d6..9c66b33 100644 --- a/docs/markdown/Pkgconfig-module.md +++ b/docs/markdown/Pkgconfig-module.md @@ -30,11 +30,14 @@ keyword arguments. also be provided and they will be added into the `Libs` field. Since 0.45.0 dependencies of built libraries will be automatically added, see the [Implicit dependencies](#implicit-dependencies) section below for the exact - rules. + rules. Since 0.58.0 custom_target() objects are supported as long as they are + linkable (has known extension such as `.a`, `.so`, etc). - `libraries_private` list of built libraries or strings to put in the `Libs.private` field. Since 0.45.0 dependencies of built libraries will be automatically added, see the [Implicit dependencies](#implicit-dependencies) - section below for the exact rules. + section below for the exact rules. Since 0.58.0 custom_target() objects are + supported as long as they are linkable (has known extension such as `.a`, + `.so`, etc). - `name` the name of this library, used to set the `Name:` field - `subdirs` which subdirs of `include` should be added to the header search path, for example if you install headers into diff --git a/docs/markdown/snippets/pkgconfig_gen_ct.md b/docs/markdown/snippets/pkgconfig_gen_ct.md new file mode 100644 index 0000000..ccf9415 --- /dev/null +++ b/docs/markdown/snippets/pkgconfig_gen_ct.md @@ -0,0 +1,5 @@ +## Passing `custom_target()` output to `pkg.generate()` + +It is now allowed to pass libraries generated by a `custom_target()` to +pkg-config file generator. The output filename must have a known library extension +such as `.a`, `.so`, etc. |