From 2a9e59adb5db8630ab7bdbdeedac623e3397989b Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Wed, 17 Sep 2025 00:48:46 +0200 Subject: uline: Add unicode line reader --- meson.build | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 94519bc..ee265db 100644 --- a/meson.build +++ b/meson.build @@ -163,6 +163,20 @@ uio_dep = declare_dependency( dependencies: [buffer_dep, io_dep, unicode_dep], ) +uline_lib = library( + 'uline', + sources: [ + 'src/uline.cc', + 'src/uline.hh', + ], + include_directories: inc, + dependencies: [buffer_dep, uio_dep], +) +uline_dep = declare_dependency( + link_with: uline_lib, + dependencies: [buffer_dep, uio_dep], +) + jkc = executable( 'jkc', sources: [ @@ -290,6 +304,17 @@ test('uio', executable( ], )) +test('uline', executable( + 'test_uline', + sources: ['test/uline.cc'], + include_directories: inc, + dependencies: [ + uline_dep, + io_test_helper_dep, + test_dependencies, + ], +)) + run_clang_tidy = find_program('run-clang-tidy', required: false) if run_clang_tidy.found() -- cgit v1.3