1# #############################################################################
2# Copyright (c) 2018-present        lzutao <taolzu(at)gmail.com>
3# All rights reserved.
4#
5# This source code is licensed under both the BSD-style license (found in the
6# LICENSE file in the root directory of this source tree) and the GPLv2 (found
7# in the COPYING file in the root directory of this source tree).
8# #############################################################################
9
10# Read guidelines from https://wiki.gnome.org/Initiatives/GnomeGoals/MesonPorting
11
12option('debug_level', type: 'integer', min: 0, max: 7, value: 1,
13  description: 'Enable run-time debug. See lib/lz4hc.c')
14option('backtrace', type: 'boolean', value: false,
15  description: 'Display a stack backtrace when execution generates a runtime exception')
16
17option('bin_programs', type: 'boolean', value: false,
18  description: 'Enable programs build')
19option('bin_tests', type: 'boolean', value: false,
20  description: 'Enable tests build')
21option('bin_contrib', type: 'boolean', value: false,
22  description: 'Enable contrib build')
23option('bin_examples', type: 'boolean', value: false,
24  description: 'Enable examples build')
25