2018-12-01 05:15:53 +00:00
|
|
|
# #############################################################################
|
|
|
|
# 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')
|
|
|
|
|
2019-06-29 03:10:05 +00:00
|
|
|
option('bin_programs', type: 'boolean', value: false,
|
2018-12-01 05:15:53 +00:00
|
|
|
description: 'Enable programs build')
|
2019-06-29 03:10:05 +00:00
|
|
|
option('bin_tests', type: 'boolean', value: false,
|
2018-12-01 05:15:53 +00:00
|
|
|
description: 'Enable tests build')
|
2019-06-29 03:10:05 +00:00
|
|
|
option('bin_contrib', type: 'boolean', value: false,
|
2018-12-01 05:15:53 +00:00
|
|
|
description: 'Enable contrib build')
|
2019-06-29 03:10:05 +00:00
|
|
|
option('bin_examples', type: 'boolean', value: false,
|
2018-12-01 05:15:53 +00:00
|
|
|
description: 'Enable examples build')
|