diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2025-09-17 00:48:46 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2025-09-17 00:48:46 +0200 |
| commit | 2a9e59adb5db8630ab7bdbdeedac623e3397989b (patch) | |
| tree | 44043f182f12ba9feb2c42ff2f4962ef1c452a96 /meson.build | |
| parent | d091dc78154d1c6341251f1ed13bfe3b33f10773 (diff) | |
uline: Add unicode line reader
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 25 |
1 files changed, 25 insertions, 0 deletions
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() |
