aboutsummaryrefslogtreecommitdiff
path: root/contrib/meson/meson_options.txt
blob: ccb32de0a988775a8d0fac2c1314601138c2049d (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
# #############################################################################
# Copyright (c) 2018-present        lzutao <taolzu(at)gmail.com>
# Copyright (c) 2022-present        Tristan Partin <tristan(at)partin.io>
# 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).
# #############################################################################

option('debug-level', type: 'integer', min: 0, max: 7, value: 1,
  description: 'Enable run-time debug. See lib/lz4hc.c')
option('unstable', type: 'boolean', value: false,
  description: 'Expose unstable interfaces')
option('programs', type: 'boolean', value: false,
  description: 'Enable programs build')
option('tests', type: 'boolean', value: false,
  description: 'Enable tests build')
option('contrib', type: 'boolean', value: false,
  description: 'Enable contrib build')
option('examples', type: 'boolean', value: false,
  description: 'Enable examples build')
option('memory-usage', type: 'integer', min: 0, value: 0,
  description: 'See LZ4_MEMORY_USAGE. 0 means use the LZ4 default')