aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2019-07-24 18:46:13 +0400
committerJussi Pakkanen <jpakkane@gmail.com>2019-08-04 21:44:52 +0300
commit8ba14057421928b15a485214ac7023d246bfab7c (patch)
tree108c5faf51aa12b29c9a285e60e7a8ff13d57d3d /docs/markdown/snippets
parent940ebd658b9e7bf1679bd8fbfbcb6b429d80424a (diff)
downloadmeson-8ba14057421928b15a485214ac7023d246bfab7c.zip
meson-8ba14057421928b15a485214ac7023d246bfab7c.tar.gz
meson-8ba14057421928b15a485214ac7023d246bfab7c.tar.bz2
sourceset: add all_dependencies() method
'if_true' sources should be built with their dependencies, as illustrated by test case change. Ideally, I think we would want only the files with the dependencies to be built with the flags, but that would probably change the way sourceset are used.
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/source_set_enhancements.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/markdown/snippets/source_set_enhancements.md b/docs/markdown/snippets/source_set_enhancements.md
new file mode 100644
index 0000000..08e0ae3
--- /dev/null
+++ b/docs/markdown/snippets/source_set_enhancements.md
@@ -0,0 +1,4 @@
+## Enhancements to the source_set module
+
+`SourceSet` objects now provide the `all_dependencies()` method, that
+complement the existing `all_sources()` method.