diff options
Diffstat (limited to 'contrib/meson.build')
-rw-r--r-- | contrib/meson.build | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/contrib/meson.build b/contrib/meson.build new file mode 100644 index 00000000..c9fcb62c --- /dev/null +++ b/contrib/meson.build @@ -0,0 +1,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, +) |