aboutsummaryrefslogtreecommitdiff
path: root/lib/urlfilter/CMakeLists.txt
blob: 20466d3dd2906f72d297554a3f7424e4021fa569 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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
    # filter tree
    filtertree.cpp
    filtertree.h
    filterleaf.cpp
    filterleaf.h
    domain.cpp
    domain.h

    formats/adblockrule.cpp
    formats/adblockrule.h
    formats/hostlistrule.cpp
    formats/hostlistrule.h
)

target_link_libraries(urlfilter Qt5::WebEngineWidgets)