aboutsummaryrefslogtreecommitdiff
path: root/staging/adblock/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'staging/adblock/meson.build')
-rw-r--r--staging/adblock/meson.build31
1 files changed, 19 insertions, 12 deletions
diff --git a/staging/adblock/meson.build b/staging/adblock/meson.build
index 972b7cf..f0a0e07 100644
--- a/staging/adblock/meson.build
+++ b/staging/adblock/meson.build
@@ -4,20 +4,27 @@ lib_adblockfilter = static_library('adblockfilter',
dependencies: [ dep_qt5 ]
)
-AdblockPlusFilterPlugin = shared_library('AdblockPlusPlugin',
- [ 'plugin/plugin.cpp',
- mod_qt5.preprocess(include_directories: smolbote_interfaces,
- moc_headers: 'plugin/plugin.h', dependencies: dep_qt5)
- ],
- include_directories: smolbote_interfaces,
+#AdblockPlusFilterPlugin = shared_library('AdblockPlusPlugin',
+# [ 'plugin/plugin.cpp',
+# mod_qt5.preprocess(include_directories: smolbote_interfaces,
+# moc_headers: 'plugin/plugin.h', dependencies: dep_qt5)
+# ],
+# include_directories: smolbote_interfaces,
+# link_with: lib_adblockfilter,
+# dependencies: dep_qt5,
+# install: true,
+# install_dir: get_option('libdir')/'smolbote/plugins'
+#)
+
+test('adblock: rule', executable('libadblockfilter_rule',
+ sources: 'test/rule.cpp',
link_with: lib_adblockfilter,
- dependencies: dep_qt5,
- install: true,
- install_dir: get_option('libdir')/'smolbote/plugins'
-)
+ dependencies: [ dep_qt5, dep_catch ]
+))
-test('filter: adblock format rules', executable('libadblockfilter_rules',
- sources: 'test/rules.cpp',
+test('adblock: filterlist', executable('libadblockfilter_filterlist',
+ sources: 'test/filterlist.cpp',
+ include_directories: smolbote_interfaces,
link_with: lib_adblockfilter,
dependencies: [ dep_qt5, dep_catch ]
))