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

compile_ipc(${WEBCONTENT_SOURCE_DIR}/WebContentServer.ipc WebContentServerEndpoint.h)    
compile_ipc(${WEBCONTENT_SOURCE_DIR}/WebContentClient.ipc WebContentClientEndpoint.h)    
    
set(WEBCONTENT_SOURCES
    ${WEBCONTENT_SOURCE_DIR}/ConnectionFromClient.cpp    
    ${WEBCONTENT_SOURCE_DIR}/ConsoleGlobalObject.cpp    
    ${WEBCONTENT_SOURCE_DIR}/PageHost.cpp    
    ${WEBCONTENT_SOURCE_DIR}/WebContentConsoleClient.cpp    
    ../EventLoopPluginQt.cpp
    ../FontPluginQt.cpp
    ../ImageCodecPluginLadybird.cpp
    ../RequestManagerQt.cpp
    ../TimerQt.cpp
    ../Utilities.cpp
    ../WebSocketClientManagerLadybird.cpp
    ../WebSocketLadybird.cpp
    WebContentClientEndpoint.h    
    WebContentServerEndpoint.h    
    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::Network Qt::Gui LibCore LibIPC LibGfx LibWebView LibWebSocket LibWeb LibMain)