1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
downloads_inc = include_directories('.')
downloads_moc = mod_qt5.preprocess(
moc_headers: ['downloadswidget.h', 'widgets/downloaditemwidget.h', 'widgets/elidedlabel.h'],
ui_files: ['downloadsform.ui', 'widgets/downloaditemform.ui'],
dependencies: dep_qt5
)
downloads_lib = static_library('downloads',
['downloadswidget.cpp', downloads_moc,
'widgets/downloaditemwidget.cpp', 'widgets/elidedlabel.cpp'],
dependencies: dep_qt5
)
dep_downloads = declare_dependency(
include_directories: downloads_inc,
link_with: downloads_lib,
sources: ['downloadswidget.cpp', downloads_moc,
'widgets/downloaditemwidget.cpp', 'widgets/elidedlabel.cpp']
)
|