aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaarten ter Huurne <maarten@treewalker.org>2019-02-20 02:45:37 +0100
committerXavier Claessens <xclaesse@gmail.com>2019-02-19 22:42:12 -0500
commitb4ef2575939882c0824a63d63bdc423bc33943e8 (patch)
tree12f4ff9025b9e7428dc82a6c710ec854a24647df
parentc23ac0b3dcf67d9da6080222955daeda5ddc7a0b (diff)
downloadmeson-b4ef2575939882c0824a63d63bdc423bc33943e8.zip
meson-b4ef2575939882c0824a63d63bdc423bc33943e8.tar.gz
meson-b4ef2575939882c0824a63d63bdc423bc33943e8.tar.bz2
Clarify in docs the argument types extract_objects() accepts [skip ci]
-rw-r--r--docs/markdown/Reference-manual.md12
1 files changed, 7 insertions, 5 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md
index 4b61ca0..adaffe7 100644
--- a/docs/markdown/Reference-manual.md
+++ b/docs/markdown/Reference-manual.md
@@ -2019,11 +2019,13 @@ A build target is either an [executable](#executable),
previous versions. The default will eventually be changed to `true`
in a future version.
-- `extract_objects()` returns an opaque value representing the
- generated object files of arguments, usually used to take single
- object files and link them to unit tests or to compile some source
- files with custom flags. To use the object file(s) in another build
- target, use the `objects:` keyword argument.
+- `extract_objects(source1, source2, ...)` takes as its arguments
+ a number of source files as [`string`](#string-object) or
+ [`files()`](#files) and returns an opaque value representing the
+ object files generated for those source files. This is typically used
+ to take single object files and link them to unit tests or to compile
+ some source files with custom flags. To use the object file(s)
+ in another build target, use the `objects:` keyword argument.
- `full_path()` returns a full path pointing to the result target file.
NOTE: In most cases using the object itself will do the same job as