meson: Add lmsensors support
[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(
22 'platforms',
23 type : 'string',
24 value : 'auto',
25 description : 'comma separated list of window systems to support. If this is set to auto all platforms applicable to the OS will be enabled.'
26 )
27 option(
28 'dri3',
29 type : 'combo',
30 value : 'auto',
31 choices : ['auto', 'true', 'false'],
32 description : 'enable support for dri3'
33 )
34 option(
35 'dri-drivers',
36 type : 'string',
37 value : 'auto',
38 description : 'comma separated list of dri drivers to build. If this is set to auto all drivers applicable to the target OS/architecture will be built'
39 )
40 option(
41 'dri-drivers-path',
42 type : 'string',
43 value : '',
44 description : 'Location of dri drivers. Default: $libdir/dri.'
45 )
46 option(
47 'gallium-drivers',
48 type : 'string',
49 value : 'auto',
50 description : 'comma separated list of gallium drivers to build. If this is set to auto all drivers applicable to the target OS/architecture will be built'
51 )
52 option(
53 'gallium-media',
54 type : 'string',
55 value : '',
56 description : 'comma separated list of gallium media APIs to build (omx,va,vdpau,xvmc).'
57 )
58 option(
59 'gallium-extra-hud',
60 type : 'boolean',
61 value : false,
62 description : 'Enable HUD block/NIC I/O HUD status support',
63 )
64 option(
65 'vulkan-drivers',
66 type : 'string',
67 value : 'auto',
68 description : 'comma separated list of vulkan drivers to build. If this is set to auto all drivers applicable to the target OS/architecture will be built'
69 )
70 option(
71 'shader-cache',
72 type : 'boolean',
73 value : true,
74 description : 'Build with on-disk shader cache support'
75 )
76 option(
77 'vulkan-icd-dir',
78 type : 'string',
79 value : '',
80 description : 'Location relative to prefix to put vulkan icds on install. Default: $datadir/vulkan/icd.d'
81 )
82 option(
83 'shared-glapi',
84 type : 'boolean',
85 value : true,
86 description : 'Whether to build a shared or static glapi'
87 )
88 option(
89 'gles1',
90 type : 'boolean',
91 value : true,
92 description : 'Build support for OpenGL ES 1.x'
93 )
94 option(
95 'gles2',
96 type : 'boolean',
97 value : true,
98 description : 'Build support for OpenGL ES 2.x and 3.x'
99 )
100 option(
101 'opengl',
102 type : 'boolean',
103 value : true,
104 description : 'Build support for OpenGL (all versions)'
105 )
106 option(
107 'gbm',
108 type : 'combo',
109 value : 'auto',
110 choices : ['auto', 'true', 'false'],
111 description : 'Build support for gbm platform'
112 )
113 option(
114 'glx',
115 type : 'combo',
116 value : 'auto',
117 choices : ['auto', 'disabled', 'dri', 'xlib', 'gallium-xlib'],
118 description : 'Build support for GLX platform'
119 )
120 option(
121 'egl',
122 type : 'combo',
123 value : 'auto',
124 choices : ['auto', 'true', 'false'],
125 description : 'Build support for EGL platform'
126 )
127 option(
128 'glvnd',
129 type : 'boolean',
130 value : false,
131 description : 'Enable GLVND support.'
132 )
133 option(
134 'asm',
135 type : 'boolean',
136 value : true,
137 description : 'Build assembly code if possible'
138 )
139 option(
140 'llvm',
141 type : 'combo',
142 value : 'auto',
143 choices : ['auto', 'true', 'false'],
144 description : 'Build with LLVM support.'
145 )
146 option(
147 'valgrind',
148 type : 'combo',
149 value : 'auto',
150 choices : ['auto', 'true', 'false'],
151 description : 'Build with valgrind support'
152 )
153 option(
154 'libunwind',
155 type : 'combo',
156 value : 'auto',
157 choices : ['auto', 'true', 'false'],
158 description : 'Use libunwind for stack-traces'
159 )
160 option(
161 'lmsensors',
162 type : 'combo',
163 value : 'auto',
164 choices : ['auto', 'true', 'false'],
165 description : 'Enable HUD lmsensors support.'
166 )
167 option(
168 'build-tests',
169 type : 'boolean',
170 value : false,
171 description : 'Build unit tests. Currently this will build *all* unit tests, which may build more than expected.'
172 )
173 option(
174 'texture-float',
175 type : 'boolean',
176 value : false,
177 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.'
178 )
179 option(
180 'selinux',
181 type : 'boolean',
182 value : false,
183 description : 'Build an SELinux-aware Mesa'
184 )
185 option(
186 'osmesa',
187 type : 'combo',
188 value : 'none',
189 choices : ['none', 'classic', 'gallium'],
190 description : 'Build OSmesa.'
191 )
192 option(
193 'osmesa-bits',
194 type : 'combo',
195 value : '8',
196 choices : ['8', '16', '32'],
197 description : 'Number of channel bits for OSMesa.'
198 )