aboutsummaryrefslogtreecommitdiff
path: root/contrib/meson/meson/examples/meson.build
blob: 493049d1e7834bdcdd352b9badfe2626fcc4d134 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# #############################################################################
# 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).
# #############################################################################

lz4_root_dir = '../../../..'

#examples_c_args = ['-Wextra', '-Wundef', '-Wshadow', '-Wcast-align', '-Wstrict-prototypes']

printVersion = executable('printVersion',
  join_paths(lz4_root_dir, 'examples/printVersion.c'),
  dependencies: liblz4_dep,
  install: false)
doubleBuffer = executable('doubleBuffer',
  join_paths(lz4_root_dir, 'examples/blockStreaming_doubleBuffer.c'),
  dependencies: liblz4_dep,
  install: false)
dictionaryRandomAccess = executable('dictionaryRandomAccess',
  join_paths(lz4_root_dir, 'examples/dictionaryRandomAccess.c'),
  dependencies: liblz4_dep,
  install: false)
ringBuffer = executable('ringBuffer',
  join_paths(lz4_root_dir, 'examples/blockStreaming_ringBuffer.c'),
  dependencies: liblz4_dep,
  install: false)
ringBufferHC = executable('ringBufferHC',
  join_paths(lz4_root_dir, 'examples/HCStreaming_ringBuffer.c'),
  dependencies: liblz4_dep,
  install: false)
lineCompress = executable('lineCompress',
  join_paths(lz4_root_dir, 'examples/blockStreaming_lineByLine.c'),
  dependencies: liblz4_dep,
  install: false)
frameCompress = executable('frameCompress',
  join_paths(lz4_root_dir, 'examples/frameCompress.c'),
  dependencies: liblz4_dep,
  install: false)
compressFunctions = executable('compressFunctions',
  join_paths(lz4_root_dir, 'examples/compress_functions.c'),
  dependencies: liblz4_dep,
  install: false)
simpleBuffer = executable('simpleBuffer',
  join_paths(lz4_root_dir, 'examples/simple_buffer.c'),
  dependencies: liblz4_dep,
  install: false)