aboutsummaryrefslogtreecommitdiff
path: root/lib/urlfilter
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/urlfilter
parentAdblockRule constructor (diff)
downloadsmolbote-6673ba53c17bb1ab99a1e7629156d99452213747.tar.xz
Initial meson build files
Diffstat (limited to 'lib/urlfilter')
-rw-r--r--lib/urlfilter/meson.build17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/urlfilter/meson.build b/lib/urlfilter/meson.build
new file mode 100644
index 0000000..9178d1c
--- /dev/null
+++ b/lib/urlfilter/meson.build
@@ -0,0 +1,17 @@
+urlfilter_inc = include_directories('.')
+urlfilter_lib = static_library('urlfilter',
+ ['filtertree.cpp', 'filtertree.h', 'filterleaf.cpp', 'filterleaf.h',
+ 'domain.cpp', 'domain.h',
+ 'formats/adblockrule.cpp', 'formats/adblockrule.h',
+ 'formats/hostlistrule.cpp', 'formats/hostlistrule.h'],
+ dependencies: dep_qt5
+)
+
+dep_urlfilter = declare_dependency(
+ include_directories: urlfilter_inc,
+ link_with: urlfilter_lib,
+ sources: ['filtertree.cpp', 'filtertree.h', 'filterleaf.cpp', 'filterleaf.h',
+ 'domain.cpp', 'domain.h',
+ 'formats/adblockrule.cpp', 'formats/adblockrule.h',
+ 'formats/hostlistrule.cpp', 'formats/hostlistrule.h']
+)