diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2025-10-07 19:58:28 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2025-10-19 00:13:47 +0200 |
| commit | 4f6e76493fb74f5385d5a14dce3a01c9901802ed (patch) | |
| tree | a38722ec832fd44ad34257730e075e8b07825bd0 /meson.build | |
| parent | c87f9627efc8b612eb9b000acfcc6731cad15765 (diff) | |
paths: New module
Path utilities (doh)
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meson.build b/meson.build index f98276c..291b3f9 100644 --- a/meson.build +++ b/meson.build @@ -83,6 +83,20 @@ str_lib = library( ) str_dep = declare_dependency(link_with: str_lib) +paths_lib = library( + 'paths', + sources: [ + 'src/paths.cc', + 'src/paths.hh', + ], + include_directories: inc, + dependencies: [str_dep], +) +paths_dep = declare_dependency( + link_with: paths_lib, + dependencies: [str_dep], +) + bluetooth_jukebox = executable( 'bluetooth-jukebox', sources: [ @@ -127,6 +141,16 @@ io_test_helper_dep = declare_dependency( dependencies: io_dep, ) +testenv_lib = library( + 'testenv', + sources: [ + 'test/testenv.cc', + 'test/testenv.hh', + ], + include_directories: inc, +) +testenv_dep = declare_dependency(link_with: testenv_lib) + test('line', executable( 'test_line', sources: ['test/line.cc'], @@ -169,6 +193,17 @@ test('buffer', executable( ], )) +test('paths', executable( + 'test_paths', + sources: ['test/paths.cc'], + include_directories: inc, + dependencies : [ + paths_dep, + test_dependencies, + testenv_dep, + ], +)) + run_clang_tidy = find_program('run-clang-tidy', required: false) if run_clang_tidy.found() |
