aboutsummaryrefslogtreecommitdiff
path: root/lib/urlfilter/CMakeLists.txt
blob: 9940222a7098a0dc8a12c13cefe291dfbcabd51f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Find includes in corresponding build directories
set(CMAKE_INCLUDE_CURRENT_DIR ON)

# Instruct CMake to run moc automatically when needed.
set(CMAKE_AUTOMOC ON)

add_library(urlfilter
    filterrule.cpp
    filterrule.h

    formats/adblockrule.cpp
    formats/adblockrule.h

    formats/hostlistrule.cpp
    formats/hostlistrule.h

    # filter tree
    filtertree.cpp
    filtertree.h
    filterleaf.cpp
    filterleaf.h
    domain.cpp
    domain.h
)

target_link_libraries(urlfilter Qt5::WebEngineWidgets)