diff options
author | Yann Collet <Cyan4973@users.noreply.github.com> | 2023-02-07 22:59:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-07 22:59:06 (GMT) |
commit | 185cf420206cf68a2a5cee8cdaf11145db7cd971 (patch) | |
tree | 22999d2208c0a4cbedb06a1e688433f46cb75a12 /build/meson/meson_options.txt | |
parent | 1f3adea1c68ea61f41903d959b4f98f45aa527a7 (diff) | |
parent | 7ab223b7fa2f5b28cfaa4c800db78ad82287be40 (diff) | |
download | lz4-185cf420206cf68a2a5cee8cdaf11145db7cd971.zip lz4-185cf420206cf68a2a5cee8cdaf11145db7cd971.tar.gz lz4-185cf420206cf68a2a5cee8cdaf11145db7cd971.tar.bz2 |
Merge pull request #1207 from eli-schwartz/meson
build: move meson files from contrib, to go alongside other build systems
Diffstat (limited to 'build/meson/meson_options.txt')
-rw-r--r-- | build/meson/meson_options.txt | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/build/meson/meson_options.txt b/build/meson/meson_options.txt new file mode 100644 index 0000000..36eedbb --- /dev/null +++ b/build/meson/meson_options.txt @@ -0,0 +1,40 @@ +# ############################################################################# +# 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('align-test', type: 'boolean', value: true, + description: 'See LZ4_ALIGN_TEST') +option('contrib', type: 'boolean', value: false, + description: 'Enable contrib') +option('debug-level', type: 'integer', min: 0, max: 7, value: 1, + description: 'Enable run-time debug. See lib/lz4hc.c') +option('disable-memory-allocation', type: 'boolean', value: false, + description: 'See LZ4_STATIC_LINKING_ONLY_DISABLE_MEMORY_ALLOCATION. Static builds only') +option('distance-max', type: 'integer', min: 0, max: 65535, value: 65535, + description: 'See LZ4_DISTANCE_MAX') +option('examples', type: 'boolean', value: false, + description: 'Enable examples') +option('fast-dec-loop', type: 'feature', value: 'auto', + description: 'See LZ4_FAST_DEC_LOOP') +option('force-sw-bitcount', type: 'boolean', value: false, + description: 'See LZ4_FORCE_SW_BITCOUNT') +option('freestanding', type: 'boolean', value: false, + description: 'See LZ4_FREESTANDING') +option('memory-usage', type: 'integer', min: 0, max: 20, value: 0, + description: 'See LZ4_MEMORY_USAGE. 0 means use the LZ4 default') +option('ossfuzz', type: 'boolean', value: true, + description: 'Enable ossfuzz') +option('programs', type: 'boolean', value: false, + description: 'Enable programs') +option('tests', type: 'boolean', value: false, + description: 'Enable tests') +option('unstable', type: 'boolean', value: false, + description: 'Expose unstable interfaces') +option('user-memory-functions', type: 'boolean', value: false, + description: 'See LZ4_USER_MEMORY_FUNCTIONS') |