f35cd5fc8b11263957b19ecd909813bd5416014a
[pcsx_rearmed.git] / deps / libchdr / deps / zstd-1.5.5 / build / meson / meson_options.txt
1 # #############################################################################
2 # Copyright (c) 2018-present     Dima Krasner <dima@dimakrasner.com>
3 #                                lzutao <taolzu(at)gmail.com>
4 # All rights reserved.
5 #
6 # This source code is licensed under both the BSD-style license (found in the
7 # LICENSE file in the root directory of this source tree) and the GPLv2 (found
8 # in the COPYING file in the root directory of this source tree).
9 # #############################################################################
10
11 # Read guidelines from https://wiki.gnome.org/Initiatives/GnomeGoals/MesonPorting
12
13 option('legacy_level', type: 'integer', min: 0, max: 7, value: 5,
14   description: 'Support any legacy format: 7 to 1 for v0.7+ to v0.1+')
15 option('debug_level', type: 'integer', min: 0, max: 9, value: 1,
16   description: 'Enable run-time debug. See lib/common/debug.h')
17 option('backtrace', type: 'feature', value: 'disabled',
18   description: 'Display a stack backtrace when execution generates a runtime exception')
19 option('static_runtime', type: 'boolean', value: false,
20   description: 'Link to static run-time libraries on MSVC')
21
22 option('bin_programs', type: 'boolean', value: true,
23   description: 'Enable programs build')
24 option('bin_tests', type: 'boolean', value: false,
25   description: 'Enable tests build')
26 option('bin_contrib', type: 'boolean', value: false,
27   description: 'Enable contrib build')
28
29 option('multi_thread', type: 'feature', value: 'enabled',
30   description: 'Enable multi-threading when pthread is detected')
31 option('zlib', type: 'feature', value: 'auto',
32   description: 'Enable zlib support')
33 option('lzma', type: 'feature', value: 'auto',
34   description: 'Enable lzma support')
35 option('lz4', type: 'feature', value: 'auto',
36   description: 'Enable lz4 support')