aboutsummaryrefslogtreecommitdiff
path: root/lib/smolblok/meson.build
blob: ea9e715874eed0e4ccf9f89c2164c9dab1c125a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)