Document declare_dependency() link_whole parameter

pull/3086/head
Aleksey Filippov 7 years ago
parent 9f1d4c0dbe
commit 4de02cb5b0
  1. 2
      docs/markdown/Reference-manual.md
  2. 4
      docs/markdown/snippets/declare_dependency-link_whole.md

@ -267,6 +267,8 @@ keyword arguments.
- `include_directories`, the directories to add to header search path - `include_directories`, the directories to add to header search path
- `link_args`, link arguments to use - `link_args`, link arguments to use
- `link_with`, libraries to link against - `link_with`, libraries to link against
- `link_whole`, libraries to link fully, same as [`executable`](#executable)
Since 0.46.0
- `sources`, sources to add to targets (or generated header files - `sources`, sources to add to targets (or generated header files
that should be built before sources including them are built) that should be built before sources including them are built)
- `version`, the version of this dependency, such as `1.2.3` - `version`, the version of this dependency, such as `1.2.3`

@ -0,0 +1,4 @@
## declare_dependency() supports link_whole
`declare_dependency()` supports `link_whole` parameter.
`link_whole` propagates to build target that uses dependency.
Loading…
Cancel
Save