diff options
| author | Aleksey Filippov <alekseyf@google.com> | 2018-02-18 08:27:16 +0000 |
|---|---|---|
| committer | Aleksey Filippov <alekseyf@google.com> | 2018-03-06 01:44:26 +0000 |
| commit | 4de02cb5b0e67e051b8503a94249d21989844e87 (patch) | |
| tree | 38e7ad38e51189b0d7468ee3e37b70052759e14a /docs | |
| parent | 9f1d4c0dbe5556ea7a23648350a2d2f674d89cac (diff) | |
| download | meson-4de02cb5b0e67e051b8503a94249d21989844e87.tar.gz | |
Document declare_dependency() link_whole parameter
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/markdown/Reference-manual.md | 2 | ||||
| -rw-r--r-- | docs/markdown/snippets/declare_dependency-link_whole.md | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index a02ad1ca8..6f6cb36cf 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -267,6 +267,8 @@ keyword arguments. - `include_directories`, the directories to add to header search path - `link_args`, link arguments to use - `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 that should be built before sources including them are built) - `version`, the version of this dependency, such as `1.2.3` diff --git a/docs/markdown/snippets/declare_dependency-link_whole.md b/docs/markdown/snippets/declare_dependency-link_whole.md new file mode 100644 index 000000000..827b1f6b5 --- /dev/null +++ b/docs/markdown/snippets/declare_dependency-link_whole.md @@ -0,0 +1,4 @@ +## declare_dependency() supports link_whole + +`declare_dependency()` supports `link_whole` parameter. +`link_whole` propagates to build target that uses dependency. |
