diff options
author | Martin Ejdestig <marejde@gmail.com> | 2018-02-15 16:57:41 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-02-16 00:08:28 +0200 |
commit | b06a4901cb7f062e57dcd5b8193271031ca36c62 (patch) | |
tree | 607fdd1e61c07249393ad16551a31c9db64d24cf | |
parent | d2445a15a1e3bc54af3737ff85ad6c37667c538e (diff) | |
download | meson-b06a4901cb7f062e57dcd5b8193271031ca36c62.zip meson-b06a4901cb7f062e57dcd5b8193271031ca36c62.tar.gz meson-b06a4901cb7f062e57dcd5b8193271031ca36c62.tar.bz2 |
Document how to set options in subprojects
-rw-r--r-- | docs/markdown/Build-options.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/markdown/Build-options.md b/docs/markdown/Build-options.md index f70dda5..9ccdf83 100644 --- a/docs/markdown/Build-options.md +++ b/docs/markdown/Build-options.md @@ -107,6 +107,13 @@ $ meson configure "-Doption=['a,b', 'c,d']" The inner values must always be single quotes and the outer ones double quotes. +To change values in subprojects prepend the name of the subproject and +a colon: + +```console +$ meson configure -Dsubproject:option=newvalue +``` + **NOTE:** If you cannot call `meson configure` you likely have a old version of Meson. In that case you can call `mesonconf` instead, but that is deprecated in newer versions |