meson: build nouveau (gallium) driver
[mesa.git] / meson_options.txt
1 # Copyright © 2017 Intel Corporation
2
3 # Permission is hereby granted, free of charge, to any person obtaining a copy
4 # of this software and associated documentation files (the "Software"), to deal
5 # in the Software without restriction, including without limitation the rights
6 # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 # copies of the Software, and to permit persons to whom the Software is
8 # furnished to do so, subject to the following conditions:
9
10 # The above copyright notice and this permission notice shall be included in
11 # all copies or substantial portions of the Software.
12
13 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19 # SOFTWARE.
20
21 option('platforms', type : 'string', value : 'x11,wayland,drm',
22 description : 'comma separated list of window systems to support. wayland, x11, surfaceless, drm, etc.')
23 option('dri3', type : 'combo', value : 'auto', choices : ['auto', 'yes', 'no'],
24 description : 'enable support for dri3')
25 option('dri-drivers', type : 'string', value : 'swrast,i915,i965',
26 description : 'comma separated list of dri drivers to build.')
27 option('dri-drivers-path', type : 'string', value : '',
28 description : 'Location of dri drivers. Default: $libdir/dri.')
29 option('gallium-drivers', type : 'string', value : 'radeonsi,nouveau',
30 description : 'comma separated list of gallium drivers to build.')
31 option('gallium-media', type : 'string', value : '',
32 description : 'comma separated list of gallium media APIs to build (omx,va,vdpau,xvmc).')
33 option('vulkan-drivers', type : 'string', value : 'intel,amd',
34 description : 'comma separated list of vulkan drivers to build.')
35 option('shader-cache', type : 'boolean', value : true,
36 description : 'Build with on-disk shader cache support')
37 option('vulkan-icd-dir', type : 'string', value : '',
38 description : 'Location relative to prefix to put vulkan icds on install. Default: $datadir/vulkan/icd.d')
39 option('shared-glapi', type : 'boolean', value : true,
40 description : 'Whether to build a shared or static glapi')
41 option('gles1', type : 'boolean', value : true,
42 description : 'Build support for OpenGL ES 1.x')
43 option('gles2', type : 'boolean', value : true,
44 description : 'Build support for OpenGL ES 2.x and 3.x')
45 option('opengl', type : 'boolean', value : true,
46 description : 'Build support for OpenGL (all versions)')
47 option('gbm', type : 'combo', value : 'auto', choices : ['auto', 'yes', 'no'],
48 description : 'Build support for gbm platform')
49 option('glx', type : 'combo', value : 'auto', choices : ['auto', 'disabled', 'dri', 'xlib', 'gallium-xlib'],
50 description : 'Build support for GLX platform')
51 option('glvnd', type : 'boolean', value : false,
52 description : 'Enable GLVND support.')
53 option('asm', type : 'boolean', value : true,
54 description : 'Build assembly code if possible')
55 option('llvm', type : 'boolean', value : true, description : 'Build with LLVM support.')
56 option('valgrind', type : 'boolean', value : true,
57 description : 'Build with valgrind support if possible')
58 option('build-tests', type : 'boolean', value : false,
59 description : 'Build unit tests. Currently this will build *all* unit tests, which may build more than expected.')
60 option('texture-float', type : 'boolean', value : false,
61 description : 'Enable floating point textures and renderbuffers. This option may be patent encumbered, please read docs/patents.txt and consult with your lawyer before turning this on.')