summaryrefslogtreecommitdiffstats
path: root/meson_options.txt
blob: 5e582fe5e9608062af087a420e7b3022994c6096 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Optional components
option('vulkan', type: 'feature', value: 'auto',
       description: 'Vulkan-based renderer')

option('vk-proc-addr', type: 'feature', value: 'auto',
       description: 'Link directly against vkGetInstanceProcAddr from libvulkan.so')

option('vulkan-registry', type: 'string', value: '',
       description: 'Path to vulkan XML registry (for code generation)')

option('opengl', type: 'feature', value: 'auto',
       description: 'OpenGL-based renderer')

option('gl-proc-addr', type: 'feature', value: 'auto',
       description: 'Enable built-in OpenGL loader (uses dlopen, dlsym...)')

option('d3d11', type: 'feature', value: 'auto',
       description: 'Direct3D 11 based renderer')

option('glslang', type: 'feature', value: 'auto',
       description: 'glslang SPIR-V compiler')

option('shaderc', type: 'feature', value: 'auto',
       description: 'libshaderc SPIR-V compiler')

option('lcms', type: 'feature', value: 'auto',
       description: 'LittleCMS 2 support')

option('dovi', type: 'feature', value: 'auto',
       description: 'Dolby Vision reshaping support')

option('libdovi', type: 'feature', value: 'auto',
       description: 'libdovi support')

# Miscellaneous
option('demos', type: 'boolean', value: true,
       description: 'Enable building (and installing) the demo programs')

option('tests', type: 'boolean', value: false,
       description: 'Enable building the test cases')

option('bench', type: 'boolean', value: false,
       description: 'Enable building benchmarks (`meson test benchmark`)')

option('fuzz', type: 'boolean', value: false,
       description: 'Enable building fuzzer binaries (`CC=afl-cc`)')

option('unwind', type: 'feature', value: 'auto',
       description: 'Enable linking against libunwind for printing stack traces caused by runtime errors')

option('xxhash', type: 'feature', value: 'auto',
       description: 'Use libxxhash as a faster replacement for internal siphash')

option('debug-abort', type: 'boolean', value: false,
       description: 'abort() on most runtime errors (only for debugging purposes)')