diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2020-10-14 19:40:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-14 19:40:34 +0300 |
commit | 30d78f39812a0585a27e24ab44ef4e9da1f12574 (patch) | |
tree | 437f8b5d8e63e900f5b41923dcd33fc3950fe4f9 /docs/markdown/snippets | |
parent | 8b8a610ea4ed632759b831606723d1cafa8920d7 (diff) | |
parent | 3a0182378612bc764667328805b11bc92db696c2 (diff) | |
download | meson-30d78f39812a0585a27e24ab44ef4e9da1f12574.zip meson-30d78f39812a0585a27e24ab44ef4e9da1f12574.tar.gz meson-30d78f39812a0585a27e24ab44ef4e9da1f12574.tar.bz2 |
Merge pull request #6968 from xclaesse/auto-promote
Merge wraps from subprojects into wraps from main project
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/subsubproject.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/markdown/snippets/subsubproject.md b/docs/markdown/snippets/subsubproject.md new file mode 100644 index 0000000..77f4a0d --- /dev/null +++ b/docs/markdown/snippets/subsubproject.md @@ -0,0 +1,13 @@ +## 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 +directory in the subproject's `subprojects/` directory and add them into the +global list of available subprojects, to be used by any future `subproject()` +call or `dependency()` fallback. If a subproject with the same name already exists, +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`. |