summaryrefslogtreecommitdiff
path: root/Ladybird/WebContent/CMakeLists.txt
blob: 298a45ead823f63ec11fb1c4df424daa427572fe (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
set(WEBCONTENT_SOURCE_DIR ${SERENITY_SOURCE_DIR}/Userland/Services/WebContent/)

set(WEBCONTENT_SOURCES
    ${WEBCONTENT_SOURCE_DIR}/ConnectionFromClient.cpp
    ${WEBCONTENT_SOURCE_DIR}/ConsoleGlobalEnvironmentExtensions.cpp
    ${WEBCONTENT_SOURCE_DIR}/PageHost.cpp
    ${WEBCONTENT_SOURCE_DIR}/WebContentConsoleClient.cpp
    ${WEBCONTENT_SOURCE_DIR}/WebDriverConnection.cpp
    ../EventLoopPluginQt.cpp
    ../FontPluginQt.cpp
    ../ImageCodecPluginLadybird.cpp
    ../RequestManagerQt.cpp
    ../TimerQt.cpp
    ../Utilities.cpp
    ../WebSocketClientManagerLadybird.cpp
    ../WebSocketLadybird.cpp
    ../WebSocketImplQt.cpp
    main.cpp
)

qt_add_executable(WebContent ${WEBCONTENT_SOURCES})

target_include_directories(WebContent PRIVATE ${SERENITY_SOURCE_DIR}/Userland/Services/)
target_include_directories(WebContent PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/..)
target_link_libraries(WebContent PRIVATE Qt::Core Qt::Gui Qt::Network LibCore LibGfx LibIPC LibJS LibMain LibWeb LibWebSocket)