diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2017-10-08 22:35:27 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-10-08 22:36:06 +0300 |
commit | 683947d9436b37041cf0bb6b02ed23e982be225f (patch) | |
tree | dd11c7446ba3bcc7c5460ce7234f072cca688ff8 /docs/markdown/snippets/custom-target-index.md | |
parent | 93aa32219fec2d559ae45747f67ba17a0de06002 (diff) | |
download | meson-683947d9436b37041cf0bb6b02ed23e982be225f.zip meson-683947d9436b37041cf0bb6b02ed23e982be225f.tar.gz meson-683947d9436b37041cf0bb6b02ed23e982be225f.tar.bz2 |
Collated release note snippets to main file.
Diffstat (limited to 'docs/markdown/snippets/custom-target-index.md')
-rw-r--r-- | docs/markdown/snippets/custom-target-index.md | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/docs/markdown/snippets/custom-target-index.md b/docs/markdown/snippets/custom-target-index.md deleted file mode 100644 index 10d7cf1..0000000 --- a/docs/markdown/snippets/custom-target-index.md +++ /dev/null @@ -1,21 +0,0 @@ -# Can index CustomTaget objects - -The `CustomTarget` object can now be indexed like an array. The resulting -object can be used as a source file for other Targets, this will create a -dependency on the original `CustomTarget`, but will only insert the generated -file corresponding to the index value of the `CustomTarget`'s `output` keyword. - - c = CustomTarget( - ... - output : ['out.h', 'out.c'], - ) - lib1 = static_library( - 'lib1', - [lib1_sources, c[0]], - ... - ) - exec = executable( - 'executable', - c[1], - link_with : lib1, - ) |