aboutsummaryrefslogtreecommitdiff
path: root/lib/downloads
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-10-23 03:58:33 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-10-23 03:58:33 +0200
commit6673ba53c17bb1ab99a1e7629156d99452213747 (patch)
tree70cf515693ed51c5537dc5fb178e5d938862bd35 /lib/downloads
parentAdblockRule constructor (diff)
downloadsmolbote-6673ba53c17bb1ab99a1e7629156d99452213747.tar.xz
Initial meson build files
Diffstat (limited to 'lib/downloads')
-rw-r--r--lib/downloads/meson.build19
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']
+)