aboutsummaryrefslogtreecommitdiff
path: root/contrib/meson/meson_options.txt
blob: a409c2d9f9e8dd7b3171c154c4658570bb52733c (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>
# 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).
# #############################################################################

# Read guidelines from https://wiki.gnome.org/Initiatives/GnomeGoals/MesonPorting

option('debug_level', type: 'integer', min: 0, max: 7, value: 1,
  description: 'Enable run-time debug. See lib/lz4hc.c')
option('backtrace', type: 'boolean', value: false,
  description: 'Display a stack backtrace when execution generates a runtime exception')

option('bin_programs', type: 'boolean', value: false,
  description: 'Enable programs build')
option('bin_tests', type: 'boolean', value: false,
  description: 'Enable tests build')
option('bin_contrib', type: 'boolean', value: false,
  description: 'Enable contrib build')
option('bin_examples', type: 'boolean', value: false,
  description: 'Enable examples build')