Fix compiler warnings with clang 16 by not using gnu_printf format
[mesa-waffle.git] / meson_options.txt
blobfbab6ad52c5d9f248fcd63c87bda16925974ee3e
1 # Copyright © 2017 Dylan Baker
2 # Copyright © 2018 Intel Corporation
4 # All rights reserved.
6 # Redistribution and use in source and binary forms, with or without
7 # modification, are permitted provided that the following conditions are met:
9 # - Redistributions of source code must retain the above copyright notice, this
10 #   list of conditions and the following disclaimer.
12 # - Redistributions in binary form must reproduce the above copyright notice,
13 #   this list of conditions and the following disclaimer in the documentation
14 #   and/or other materials provided with the distribution.
16 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17 # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19 # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
20 # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
22 # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
23 # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24 # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 # Options specifically for Non-macOS *nix systems below
28 option(
29   'glx',
30   type : 'feature',
31   description : 'Build support for GLX (only for *nix)'
33 option(
34   'wayland',
35   type : 'feature',
36   description : 'Build support for wayland (only for *nix)'
38 option(
39   'x11_egl',
40   type : 'feature',
41   description : 'Build support for X11/EGL (only for *nix)'
43 option(
44   'gbm',
45   type : 'feature',
46   description : 'Build support for GBM (only for mesa)'
48 option(
49   'surfaceless_egl',
50   type : 'feature',
51   description : 'Build support for EGL_MESA_platform_surfaceless'
54 option(
55   'nacl',
56   type : 'boolean',
57   value : false,
58   description : 'REMOVED: Build support for ChromeOS NaCl'
61 # Misc Options
62 option(
63   'build-tests',
64   type : 'boolean',
65   value : false,
66   description : 'Build tests'
68 option(
69   'build-manpages',
70   type : 'boolean',
71   value : false,
72   description : 'Build manpages'
74 option(
75   'build-htmldocs',
76   type : 'boolean',
77   value : false,
78   description : 'Build html documentation'
80 option(
81   'build-examples',
82   type : 'boolean',
83   value : true,
84   description : 'Build example programs'