aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2018-05-14 16:39:42 +0100
committerEric Engestrom <[email protected]>2018-06-01 17:53:06 +0100
commit57fbc2ac5023d281b8134f4da4da821a7ae405f8 (patch)
tree0bcccca41dff19439805d6d473b8b690d2e559f3 /docs
parent03a2e7b6627a99222b4ca4777047bbe2b8186c7b (diff)
docs/meson: mention how to use array options
Signed-off-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'docs')
-rw-r--r--docs/meson.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/meson.html b/docs/meson.html
index f394a22fc2a..29907a60a9c 100644
--- a/docs/meson.html
+++ b/docs/meson.html
@@ -68,6 +68,14 @@ command are in the form <code>-D "command"="value"</code>.
</pre>
<p>
+Note that options taking lists (such as <code>platforms</code>) are
+<a href="http://mesonbuild.com/Build-options.html#using-build-options">a bit
+more complicated</a>, but the simplest form compatible with Mesa options
+is to use a comma to separate values (<code>-D platforms=drm,wayland</code>)
+and brackets to represent an empty list (<code>-D platforms=[]</code>).
+</p>
+
+<p>
Once you've run the initial <code>meson</code> command successfully you can use
your configured backend to build the project. With ninja, the -C option can be
be used to point at a directory to build.