aboutsummaryrefslogtreecommitdiff
path: root/lib/bookmarks
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/bookmarks
parentAdblockRule constructor (diff)
downloadsmolbote-6673ba53c17bb1ab99a1e7629156d99452213747.tar.xz
Initial meson build files
Diffstat (limited to 'lib/bookmarks')
-rw-r--r--lib/bookmarks/meson.build23
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/bookmarks/meson.build b/lib/bookmarks/meson.build
new file mode 100644
index 0000000..faaa154
--- /dev/null
+++ b/lib/bookmarks/meson.build
@@ -0,0 +1,23 @@
+bookmarks_inc = include_directories('.')
+bookmarks_moc = qt5.preprocess(
+ moc_headers: ['bookmarkswidget.h', 'model/bookmarkitem.h', 'model/bookmarkmodel.h', 'forms/editbookmarkdialog.h'],
+ ui_files: ['bookmarksform.ui', 'forms/editbookmarkdialog.ui'],
+ dependencies: dep_qt5
+)
+
+bookmarks_lib = static_library('bookmarks',
+ ['bookmarkswidget.cpp', bookmarks_moc,
+ 'xbel.cpp', 'xbel.h',
+ 'model/bookmarkitem.cpp', 'model/bookmarkmodel.cpp',
+ 'forms/editbookmarkdialog.cpp'],
+ dependencies: dep_qt5
+)
+
+dep_bookmarks = declare_dependency(
+ include_directories: bookmarks_inc,
+ link_with: bookmarks_lib,
+ sources: ['bookmarkswidget.cpp', bookmarks_moc,
+ 'xbel.cpp', 'xbel.h',
+ 'model/bookmarkitem.cpp', 'model/bookmarkmodel.cpp',
+ 'forms/editbookmarkdialog.cpp']
+)