aboutsummaryrefslogtreecommitdiff
path: root/staging/smolblok/meson.build
blob: 6105179a10a178547ebc75abc66f3e48982c5cee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
dep_smolblok = declare_dependency(
  include_directories: [ '.', smolbote_interfaces ],
  link_with: library('smolblok',
    [ 'smolblok.cpp' ],
    include_directories: smolbote_interfaces,
    dependencies: dep_qt5
  )
)

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)