meson.build 480 Bytes
Newer Older
Tomas Krizek's avatar
Tomas Krizek committed
1 2
# contrib

Tomas Krizek's avatar
Tomas Krizek committed
3
contrib_src = files([
4 5 6 7 8 9 10 11
  'ccan/asprintf/asprintf.c',
  'ccan/ilog/ilog.c',
  'ccan/json/json.c',
  'ucw/mempool.c',
  'ucw/mempool-fmt.c',
  'murmurhash3/murmurhash3.c',
  'base32hex.c',
  'base64.c'
Tomas Krizek's avatar
Tomas Krizek committed
12
])
13

Tomas Krizek's avatar
Tomas Krizek committed
14
contrib_inc = include_directories('.', '..')
15 16 17 18 19

contrib_lib = static_library(
  'contrib',
  contrib_src,
  include_directories: contrib_inc,
Tomas Krizek's avatar
Tomas Krizek committed
20
  dependencies: libknot,
21 22 23 24 25 26
)

contrib_dep = declare_dependency(
  include_directories: contrib_inc,
  link_with: contrib_lib,
)