aboutsummaryrefslogtreecommitdiff
path: root/lib/urlfilter/CMakeLists.txt
blob: 375ffa701b4296f89ce62e7fc738954b78f70d54 (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
# 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
)

target_link_libraries(urlfilter Qt5::WebEngineWidgets)