From 4de02cb5b0e67e051b8503a94249d21989844e87 Mon Sep 17 00:00:00 2001 From: Aleksey Filippov Date: Sun, 18 Feb 2018 08:27:16 +0000 Subject: [PATCH] Document declare_dependency() link_whole parameter --- docs/markdown/Reference-manual.md | 2 ++ docs/markdown/snippets/declare_dependency-link_whole.md | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 docs/markdown/snippets/declare_dependency-link_whole.md 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.