git subrepo pull (merge) --force deps/libchdr
[pcsx_rearmed.git] / deps / libchdr / deps / zstd-1.5.5 / build / meson / meson_options.txt
CommitLineData
648db22b 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
13option('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+')
15option('debug_level', type: 'integer', min: 0, max: 9, value: 1,
16 description: 'Enable run-time debug. See lib/common/debug.h')
17option('backtrace', type: 'feature', value: 'disabled',
18 description: 'Display a stack backtrace when execution generates a runtime exception')
19option('static_runtime', type: 'boolean', value: false,
20 description: 'Link to static run-time libraries on MSVC')
21
22option('bin_programs', type: 'boolean', value: true,
23 description: 'Enable programs build')
24option('bin_tests', type: 'boolean', value: false,
25 description: 'Enable tests build')
26option('bin_contrib', type: 'boolean', value: false,
27 description: 'Enable contrib build')
28
29option('multi_thread', type: 'feature', value: 'enabled',
30 description: 'Enable multi-threading when pthread is detected')
31option('zlib', type: 'feature', value: 'auto',
32 description: 'Enable zlib support')
33option('lzma', type: 'feature', value: 'auto',
34 description: 'Enable lzma support')
35option('lz4', type: 'feature', value: 'auto',
36 description: 'Enable lz4 support')