1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
about_moc = mod_qt5.preprocess(
moc_headers: ['aboutdialog.h', 'aboutplugin.h'],
ui_files: ['aboutdialog.ui', 'aboutplugin.ui'],
dependencies: dep_qt5
)
dep_about = declare_dependency(
include_directories: '.',
link_with: static_library('about',
[ 'aboutdialog.cpp', 'aboutplugin.cpp', about_moc, version_h],
dependencies: [dep_qt5])
)
poi_sourceset.add(dep_about)
test('about dialog', executable('about',
sources: 'test/main.cpp',
dependencies: [ dep_qt5, dep_about, dep_catch ]),
args: [ '-platform', 'offscreen' ],
env: 'autoclose=1'
)
|