aboutsummaryrefslogtreecommitdiff
path: root/lib/urlfilter/meson.build
blob: 5d0a970b960d71565e51239aeffd59867023efb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
urlfilter_inc = include_directories('.')

urlfilter_moc = qt5.preprocess(
    moc_headers: 'filtertree.h',
    dependencies: dep_qt5
)

urlfilter_lib = static_library('urlfilter',
    ['filtertree.cpp', 'filterleaf.cpp', urlfilter_moc,
    'domain.cpp', 'domain.h',
    'formats/adblockrule.cpp', 'formats/adblockrule_parse.cpp', 'formats/hostlistrule.cpp', ],
    dependencies: dep_qt5
)

dep_urlfilter = declare_dependency(
    include_directories: urlfilter_inc,
    link_with: urlfilter_lib
)