summaryrefslogtreecommitdiffstats
path: root/contrib/meson.build
blob: c9fcb62c80f8c91b090c5402ee285862f43f93b6 (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
contrib_src = [
  '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'
]

contrib_inc = include_directories('.')

contrib_lib = static_library(
  'contrib',
  contrib_src,
  include_directories: contrib_inc,
  dependencies: libknot, # errcode.h
)

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