Module: Mesa
Branch: master
Commit: 57fbc2ac5023d281b8134f4da4da821a7ae405f8
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=57fbc2ac5023d281b8134f4da4da821a7ae405f8

Author: Eric Engestrom <eric.engest...@intel.com>
Date:   Mon May 14 16:39:42 2018 +0100

docs/meson: mention how to use array options

Signed-off-by: Eric Engestrom <eric.engest...@intel.com>

---

 docs/meson.html | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/docs/meson.html b/docs/meson.html
index f394a22fc2..29907a60a9 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.

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to