diff options
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() |
