From 173c115834e37acf2a66fd00fa4010e5765c39a9 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Thu, 17 Sep 2020 11:46:42 -0400 Subject: Add wrap mode to disable auto promote --- docs/markdown/snippets/subsubproject.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs/markdown/snippets') diff --git a/docs/markdown/snippets/subsubproject.md b/docs/markdown/snippets/subsubproject.md index fdba3e0..77f4a0d 100644 --- a/docs/markdown/snippets/subsubproject.md +++ b/docs/markdown/snippets/subsubproject.md @@ -1,4 +1,4 @@ -## Sub-subprojects +## Wraps from subprojects are automatically promoted It is not required to promote wrap files for subprojects into the main project any more. When configuring a subproject, meson will look for any wrap file or @@ -9,3 +9,5 @@ the new wrap file or directory is ignored. That means that the main project can always override any subproject's wrap files by providing their own, it also means the ordering in which subprojects are configured matters, if 2 subprojects provide foo.wrap only the one from the first subproject to be configured will be used. + +This new behavior can be disabled by passing `--wrap-mode=nopromote`. -- cgit v1.1