aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Subprojects.md
diff options
context:
space:
mode:
authorMathieu Duponchelle <mathieu@centricular.com>2020-06-02 23:29:33 +0200
committerXavier Claessens <xclaesse@gmail.com>2020-06-16 13:45:40 -0400
commit20709af4d2a2f7f4ece3ecd3a9c65da3075be891 (patch)
tree6049dc6e0d08d558330885dbb2d773cc7a27fd83 /docs/markdown/Subprojects.md
parentf40e1567f5b38000b47bfbdf307f843c07645f19 (diff)
downloadmeson-20709af4d2a2f7f4ece3ecd3a9c65da3075be891.zip
meson-20709af4d2a2f7f4ece3ecd3a9c65da3075be891.tar.gz
meson-20709af4d2a2f7f4ece3ecd3a9c65da3075be891.tar.bz2
interpreter: add support for --force-fallback-for
This new command line option allows specifying dependencies for which to force fallback. See the documentation for more information Fixes: #7218
Diffstat (limited to 'docs/markdown/Subprojects.md')
-rw-r--r--docs/markdown/Subprojects.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/markdown/Subprojects.md b/docs/markdown/Subprojects.md
index 8232da9..9c54d69 100644
--- a/docs/markdown/Subprojects.md
+++ b/docs/markdown/Subprojects.md
@@ -212,6 +212,9 @@ the following command-line options:
calls, and those are meant to be used for sources that cannot be
provided by the system, such as copylibs.
+ This option may be overriden by `--force-fallback-for` for specific
+ dependencies.
+
* **--wrap-mode=forcefallback**
Meson will not look at the system for any dependencies which have
@@ -220,6 +223,19 @@ the following command-line options:
want to specifically build against the library sources provided by
your subprojects.
+* **--force-fallback-for=list,of,dependencies**
+
+ Meson will not look at the system for any dependencies listed there,
+ provided a fallback was supplied when the dependency was declared.
+
+ This option takes precedence over `--wrap-mode=nofallback`, and when
+ used in combination with `--wrap-mode=nodownload` will only work
+ if the dependency has already been downloaded.
+
+ This is useful when your project has many fallback dependencies,
+ but you only want to build against the library sources for a few
+ of them.
+
## Download subprojects
*Since 0.49.0*