diff options
Diffstat (limited to 'lib/downloads')
-rw-r--r-- | lib/downloads/meson.build | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/downloads/meson.build b/lib/downloads/meson.build new file mode 100644 index 0000000..761ab78 --- /dev/null +++ b/lib/downloads/meson.build @@ -0,0 +1,19 @@ +downloads_inc = include_directories('.') +downloads_moc = 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'] +) |