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