[Mesa-dev] [PATCH mesa v2 6/7] docs/meson: mention how to use array options

Eric Engestrom eric.engestrom at intel.com
Tue May 15 16:20:03 UTC 2018


Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
---
 docs/meson.html | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/docs/meson.html b/docs/meson.html
index f394a22fc2a7d058828e..29907a60a9cb02975065 100644
--- a/docs/meson.html
+++ b/docs/meson.html
@@ -67,6 +67,14 @@ <h2 id="basic">1. Basic Usage</h2>
     meson configure build/ -Dprefix=/tmp/install -Dglx=true
 </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
-- 
Cheers,
  Eric



More information about the mesa-dev mailing list