diff options
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 93e6534..fef8e92 100644 --- a/meson.build +++ b/meson.build @@ -230,6 +230,20 @@ sha1_dep = declare_dependency( dependencies: [sha1_inner_dep], ) +uri_lib = library( + 'uri', + sources: [ + 'src/u.hh', + 'src/u8.hh', + 'src/uri.cc', + 'src/uri.hh', + ], + include_directories: inc, +) +uri_dep = declare_dependency( + link_with: uri_lib, +) + websocket_lib = library( 'websocket', sources: [ @@ -259,6 +273,7 @@ bluetooth_jukebox = executable( json_dep, looper_dep, signals_dep, + uri_dep, websocket_dep, ], ) @@ -409,6 +424,16 @@ test('sha1', executable( ], )) +test('uri', executable( + 'test_uri', + sources: ['test/uri.cc'], + include_directories: inc, + dependencies : [ + uri_dep, + test_dependencies, + ], +)) + run_clang_tidy = find_program('run-clang-tidy', required: false) if run_clang_tidy.found() |
