summaryrefslogtreecommitdiffstats
path: root/contrib/meson/meson_options.txt
diff options
context:
space:
mode:
authorYann Collet <Cyan4973@users.noreply.github.com>2022-02-16 02:26:49 (GMT)
committerGitHub <noreply@github.com>2022-02-16 02:26:49 (GMT)
commit5b138c01b4644c133e556d96ad6105d24c401cac (patch)
tree057396fcef072278daae8d9ce50bcfaff12d31aa /contrib/meson/meson_options.txt
parent85e5b918458d6ac83871e7bf77a61f8a329904c3 (diff)
parent6c1a39e701b274c47538258c6d6e3e60dddc704a (diff)
downloadlz4-5b138c01b4644c133e556d96ad6105d24c401cac.zip
lz4-5b138c01b4644c133e556d96ad6105d24c401cac.tar.gz
lz4-5b138c01b4644c133e556d96ad6105d24c401cac.tar.bz2
Merge pull request #1064 from tristan957/meson
Fixup meson build
Diffstat (limited to 'contrib/meson/meson_options.txt')
-rw-r--r--contrib/meson/meson_options.txt20
1 files changed, 10 insertions, 10 deletions
diff --git a/contrib/meson/meson_options.txt b/contrib/meson/meson_options.txt
index a409c2d..ccb32de 100644
--- a/contrib/meson/meson_options.txt
+++ b/contrib/meson/meson_options.txt
@@ -1,5 +1,6 @@
# #############################################################################
# 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
@@ -7,18 +8,17 @@
# 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,
+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,
+option('unstable', type: 'boolean', value: false,
+ description: 'Expose unstable interfaces')
+option('programs', type: 'boolean', value: false,
description: 'Enable programs build')
-option('bin_tests', type: 'boolean', value: false,
+option('tests', type: 'boolean', value: false,
description: 'Enable tests build')
-option('bin_contrib', type: 'boolean', value: false,
+option('contrib', type: 'boolean', value: false,
description: 'Enable contrib build')
-option('bin_examples', type: 'boolean', value: false,
+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')