2022-10-05 16:23:41 +03:00
|
|
|
set(WEBCONTENT_SOURCE_DIR ${SERENITY_SOURCE_DIR}/Userland/Services/WebContent/)
|
|
|
|
|
|
|
|
set(WEBCONTENT_SOURCES
|
2022-10-08 02:08:29 +03:00
|
|
|
${WEBCONTENT_SOURCE_DIR}/ConnectionFromClient.cpp
|
2022-12-09 22:51:10 +03:00
|
|
|
${WEBCONTENT_SOURCE_DIR}/ConsoleGlobalEnvironmentExtensions.cpp
|
2022-10-08 02:08:29 +03:00
|
|
|
${WEBCONTENT_SOURCE_DIR}/PageHost.cpp
|
|
|
|
${WEBCONTENT_SOURCE_DIR}/WebContentConsoleClient.cpp
|
2022-11-09 06:00:12 +03:00
|
|
|
${WEBCONTENT_SOURCE_DIR}/WebDriverConnection.cpp
|
2023-04-24 15:51:19 +03:00
|
|
|
../EventLoopImplementationQt.cpp
|
2022-10-05 16:23:41 +03:00
|
|
|
../FontPluginQt.cpp
|
|
|
|
../ImageCodecPluginLadybird.cpp
|
|
|
|
../RequestManagerQt.cpp
|
|
|
|
../Utilities.cpp
|
|
|
|
../WebSocketClientManagerLadybird.cpp
|
|
|
|
../WebSocketLadybird.cpp
|
2022-11-08 21:17:53 +03:00
|
|
|
../WebSocketImplQt.cpp
|
2022-10-05 16:23:41 +03:00
|
|
|
main.cpp
|
2022-10-08 02:08:29 +03:00
|
|
|
)
|
2022-10-05 16:23:41 +03:00
|
|
|
|
2023-04-26 23:46:55 +03:00
|
|
|
if (APPLE)
|
|
|
|
list(APPEND WEBCONTENT_SOURCES MacOSSetup.mm)
|
|
|
|
endif()
|
|
|
|
|
2022-10-05 16:23:41 +03:00
|
|
|
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}/..)
|
2023-03-21 18:35:30 +03:00
|
|
|
target_link_libraries(WebContent PRIVATE Qt::Core Qt::Gui Qt::Network LibCore LibFileSystem LibGfx LibIPC LibJS LibMain LibWeb LibWebSocket)
|