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
10lz4_root_dir = '../../..'
11
12#examples_c_args = ['-Wextra', '-Wundef', '-Wshadow', '-Wcast-align', '-Wstrict-prototypes']
13
14printVersion = executable('printVersion',
15  join_paths(lz4_root_dir, 'examples/printVersion.c'),
16  dependencies: liblz4_dep,
17  install: false)
18doubleBuffer = executable('doubleBuffer',
19  join_paths(lz4_root_dir, 'examples/blockStreaming_doubleBuffer.c'),
20  dependencies: liblz4_dep,
21  install: false)
22dictionaryRandomAccess = executable('dictionaryRandomAccess',
23  join_paths(lz4_root_dir, 'examples/dictionaryRandomAccess.c'),
24  dependencies: liblz4_dep,
25  install: false)
26ringBuffer = executable('ringBuffer',
27  join_paths(lz4_root_dir, 'examples/blockStreaming_ringBuffer.c'),
28  dependencies: liblz4_dep,
29  install: false)
30ringBufferHC = executable('ringBufferHC',
31  join_paths(lz4_root_dir, 'examples/HCStreaming_ringBuffer.c'),
32  dependencies: liblz4_dep,
33  install: false)
34lineCompress = executable('lineCompress',
35  join_paths(lz4_root_dir, 'examples/blockStreaming_lineByLine.c'),
36  dependencies: liblz4_dep,
37  install: false)
38frameCompress = executable('frameCompress',
39  join_paths(lz4_root_dir, 'examples/frameCompress.c'),
40  dependencies: liblz4_dep,
41  install: false)
42compressFunctions = executable('compressFunctions',
43  join_paths(lz4_root_dir, 'examples/compress_functions.c'),
44  dependencies: liblz4_dep,
45  install: false)
46simpleBuffer = executable('simpleBuffer',
47  join_paths(lz4_root_dir, 'examples/simple_buffer.c'),
48  dependencies: liblz4_dep,
49  install: false)
50