# Adblock parsing test adblock = executable('AdblockTest', dependencies: [dep_qt5, dep_urlfilter], sources: ['adblock/adblocktest.cpp', qt5.preprocess(moc_headers: 'adblock/adblocktest.h', dependencies: dep_qt5)] ) test('urlfilter-adblock', adblock, workdir: meson.current_source_dir()) # Hostlist parsing test hostlist = executable('HostlistTest', dependencies: [dep_qt5, dep_urlfilter], sources: ['hostlist/hostlisttest.cpp', qt5.preprocess(moc_headers: 'hostlist/hostlisttest.h', dependencies: dep_qt5)] ) test('urlfilter-hostlist', hostlist, workdir: meson.current_source_dir()) # matching algorithms benchmark matcherbenchmark = executable('MatcherBenchmark', dependencies: [dep_qt5, dependency('boost', modules: 'regex')], sources: ['matcherbenchmark/matcherbenchmark.cpp', qt5.preprocess(moc_headers: 'matcherbenchmark/matcherbenchmark.h', dependencies: dep_qt5)] ) # SingleApplication issue#40 test app singleapp = executable('SingleApplication', cpp_args: ['-DQAPPLICATION_CLASS=QApplication'], dependencies: [dep_qt5, dep_SingleApplication], sources: ['singleapplication-40/main.cpp'] )