aboutsummaryrefslogtreecommitdiff
path: root/lib/urlfilter/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'lib/urlfilter/meson.build')
-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']
+)