diff options
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt new file mode 100644 index 0000000..5e582fe --- /dev/null +++ b/meson_options.txt @@ -0,0 +1,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)') |