diff options
Diffstat (limited to 'lib/smolblok/meson.build')
-rw-r--r-- | lib/smolblok/meson.build | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/smolblok/meson.build b/lib/smolblok/meson.build new file mode 100644 index 0000000..ea9e715 --- /dev/null +++ b/lib/smolblok/meson.build @@ -0,0 +1,15 @@ +dep_smolblok = declare_dependency( + include_directories: [ '.', smolbote_interfaces ], + link_with: library('smolblok', [ 'smolblok.cpp' ], include_directories: smolbote_interfaces, dependencies: dep_qt5) +) + +poi_sourceset.add(dep_smolblok) + +smolblok_load = executable('smolblok-load', + dependencies: [ dep_qt5, dep_spdlog, dep_smolblok ], + sources: [ 'test/loader.cpp' ] +) + +test('load', smolblok_load, suite: 'smolblok', should_fail: true) +test('load', smolblok_load, suite: 'smolblok', args: files('meson.build'), should_fail: true) + |