zstd/build/meson/meson_options.txt

37 lines
1.8 KiB
Meson
Raw Normal View History

# #############################################################################
# Copyright (c) 2018-present Dima Krasner <dima@dimakrasner.com>
# lzutao <taolzu(at)gmail.com>
# All rights reserved.
#
# This source code is licensed under both the BSD-style license (found in the
# LICENSE file in the root directory of this source tree) and the GPLv2 (found
# in the COPYING file in the root directory of this source tree).
# #############################################################################
2018-11-30 14:05:03 +00:00
# Read guidelines from https://wiki.gnome.org/Initiatives/GnomeGoals/MesonPorting
option('legacy_level', type: 'integer', min: 0, max: 7, value: '5',
2018-11-30 08:30:45 +00:00
description: 'Support any legacy format: 7 to 1 for v0.7+ to v0.1+')
2018-11-30 14:05:03 +00:00
option('debug_level', type: 'integer', min: 0, max: 9, value: 1,
description: 'Enable run-time debug. See lib/common/debug.h')
option('backtrace', type: 'boolean', value: false,
description: 'Display a stack backtrace when execution generates a runtime exception')
option('static_runtime', type: 'boolean', value: false,
description: 'Link to static run-time libraries on MSVC')
option('bin_programs', type: 'boolean', value: true,
2018-11-30 08:30:45 +00:00
description: 'Enable programs build')
option('bin_tests', type: 'boolean', value: false,
2018-11-30 08:30:45 +00:00
description: 'Enable tests build')
option('bin_contrib', type: 'boolean', value: false,
2018-11-30 14:05:03 +00:00
description: 'Enable contrib build')
option('multi_thread', type: 'feature', value: 'enabled',
2018-11-30 08:30:45 +00:00
description: 'Enable multi-threading when pthread is detected')
2018-11-30 14:05:03 +00:00
option('zlib', type: 'feature', value: 'auto',
2018-11-30 08:30:45 +00:00
description: 'Enable zlib support')
2018-11-30 14:05:03 +00:00
option('lzma', type: 'feature', value: 'auto',
2018-11-30 08:30:45 +00:00
description: 'Enable lzma support')
2018-11-30 14:05:03 +00:00
option('lz4', type: 'feature', value: 'auto',
2018-11-30 08:30:45 +00:00
description: 'Enable lz4 support')