summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build25
1 files changed, 25 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index b0708c2..94519bc 100644
--- a/meson.build
+++ b/meson.build
@@ -149,6 +149,20 @@ unicode_lib = library(
)
unicode_dep = declare_dependency(link_with: unicode_lib)
+uio_lib = library(
+ 'uio',
+ sources: [
+ 'src/uio.cc',
+ 'src/uio.hh',
+ ],
+ include_directories: inc,
+ dependencies: [buffer_dep, io_dep, unicode_dep],
+)
+uio_dep = declare_dependency(
+ link_with: uio_lib,
+ dependencies: [buffer_dep, io_dep, unicode_dep],
+)
+
jkc = executable(
'jkc',
sources: [
@@ -265,6 +279,17 @@ test('decompress', executable(
],
))
+test('uio', executable(
+ 'test_uio',
+ sources: ['test/uio.cc'],
+ include_directories: inc,
+ dependencies: [
+ io_test_helper_dep,
+ uio_dep,
+ test_dependencies,
+ ],
+))
+
run_clang_tidy = find_program('run-clang-tidy', required: false)
if run_clang_tidy.found()