From 31f0242a6fad3f15dc42f81927b5627c73516958 Mon Sep 17 00:00:00 2001 From: Mathieu Duponchelle Date: Sat, 24 Mar 2018 23:44:50 +0100 Subject: new wrap-mode: forcefallback This can be useful to make sure that a project builds when its fallbacks are used on systems where external dependencies satisfy the version requirements, or to easily hack on the sources of a dependency for which a fallback exists. --- docs/markdown/FAQ.md | 6 ++++++ docs/markdown/snippets/new-wrap-mode.md | 3 +++ 2 files changed, 9 insertions(+) create mode 100644 docs/markdown/snippets/new-wrap-mode.md (limited to 'docs/markdown') diff --git a/docs/markdown/FAQ.md b/docs/markdown/FAQ.md index f4cf89b..dffef8a 100644 --- a/docs/markdown/FAQ.md +++ b/docs/markdown/FAQ.md @@ -288,3 +288,9 @@ has a option called `wrap-mode` which can be used to disable wrap downloads altogether with `--wrap-mode=nodownload`. You can also disable dependency fallbacks altogether with `--wrap-mode=nofallback`, which also implies the `nodownload` option. + +If on the other hand, you want meson to always use the fallback +for dependencies, even when an external dependency exists and could +satisfy the version requirements, for example in order to make +sure your project builds when fallbacks are used, you can use +`--wrap-mode=forcefallback`. diff --git a/docs/markdown/snippets/new-wrap-mode.md b/docs/markdown/snippets/new-wrap-mode.md new file mode 100644 index 0000000..e33dd83 --- /dev/null +++ b/docs/markdown/snippets/new-wrap-mode.md @@ -0,0 +1,3 @@ +A new wrap mode was added, `--wrap-mode=forcefallback`. When this is set, +dependencies for which a fallback was provided will always use it, even +if an external dependency exists and satisfies the version requirements. -- cgit v1.1 From a4341b30048a25016bf2950098e498ad1f114410 Mon Sep 17 00:00:00 2001 From: Mathieu Duponchelle Date: Fri, 6 Apr 2018 22:58:06 +0200 Subject: [fixup]: add since to FAQ --- docs/markdown/FAQ.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/markdown') diff --git a/docs/markdown/FAQ.md b/docs/markdown/FAQ.md index dffef8a..398604a 100644 --- a/docs/markdown/FAQ.md +++ b/docs/markdown/FAQ.md @@ -293,4 +293,4 @@ If on the other hand, you want meson to always use the fallback for dependencies, even when an external dependency exists and could satisfy the version requirements, for example in order to make sure your project builds when fallbacks are used, you can use -`--wrap-mode=forcefallback`. +`--wrap-mode=forcefallback` since 0.46.0. -- cgit v1.1