From: Eric Engestrom Date: Mon, 14 May 2018 15:39:42 +0000 (+0100) Subject: docs/meson: mention how to use array options X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=57fbc2ac5023d281b8134f4da4da821a7ae405f8;p=mesa.git docs/meson: mention how to use array options Signed-off-by: Eric Engestrom --- diff --git a/docs/meson.html b/docs/meson.html index f394a22fc2a..29907a60a9c 100644 --- a/docs/meson.html +++ b/docs/meson.html @@ -67,6 +67,14 @@ command are in the form -D "command"="value". meson configure build/ -Dprefix=/tmp/install -Dglx=true +

+Note that options taking lists (such as platforms) are +a bit +more complicated, but the simplest form compatible with Mesa options +is to use a comma to separate values (-D platforms=drm,wayland) +and brackets to represent an empty list (-D platforms=[]). +

+

Once you've run the initial meson command successfully you can use your configured backend to build the project. With ninja, the -C option can be