aboutsummaryrefslogtreecommitdiff
path: root/staging/hostlist/meson.build
blob: c5f34996815b310c75d1ecc6f9c55c4ee217ac31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
lib_hostlistfilter = static_library('hostlistfilter',
  [ 'filterlist.cpp' ],
  include_directories: smolbote_interfaces,
  dependencies: [dep_qt5]
)

dep_hostlistfilter = declare_dependency(
  include_directories: ['.', smolbote_interfaces],
  link_with  : lib_hostlistfilter
)

test('hostlist: rule parsing', executable('rule', 
  sources: 'test/rule.cpp',
  dependencies: [dep_qt5, dep_catch, dep_hostlistfilter]))

test('hostlist: filterlist', executable('filterlist',
  sources: 'test/filterlist.cpp',
  dependencies: [dep_qt5, dep_catch, dep_hostlistfilter]),
  env: 'HOSTLIST_TXT='+meson.current_source_dir()/'test/hostlist.txt'
)