diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-10-23 03:58:33 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-10-23 03:58:33 +0200 |
commit | 6673ba53c17bb1ab99a1e7629156d99452213747 (patch) | |
tree | 70cf515693ed51c5537dc5fb178e5d938862bd35 /lib/downloads | |
parent | AdblockRule constructor (diff) | |
download | smolbote-6673ba53c17bb1ab99a1e7629156d99452213747.tar.xz |
Initial meson build files
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'] +) |