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-08-02 18:01:17 +00:00
|
|
|
../FontPlugin.cpp
|
2023-08-01 20:39:19 +00:00
|
|
|
../HelperProcess.cpp
|
2023-08-02 18:01:17 +00:00
|
|
|
../ImageCodecPlugin.cpp
|
2022-10-05 13:23:41 +00:00
|
|
|
../Utilities.cpp
|
2023-08-05 16:42:26 +00:00
|
|
|
../Qt/AudioCodecPluginQt.cpp
|
|
|
|
../Qt/AudioThread.cpp
|
|
|
|
../Qt/EventLoopImplementationQt.cpp
|
|
|
|
../Qt/EventLoopImplementationQtEventTarget.cpp
|
|
|
|
../Qt/RequestManagerQt.cpp
|
|
|
|
../Qt/StringUtils.cpp
|
|
|
|
../Qt/WebSocketClientManagerQt.cpp
|
|
|
|
../Qt/WebSocketQt.cpp
|
|
|
|
../Qt/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
|
|
|
|
|
|
|
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-08-01 20:39:19 +00:00
|
|
|
target_link_libraries(WebContent PRIVATE Qt::Core Qt::Network Qt::Multimedia LibAudio LibCore LibFileSystem LibGfx LibIPC LibJS LibMain LibWeb LibWebSocket LibProtocol LibSQL LibWebView)
|
2023-07-19 16:27:16 +00:00
|
|
|
if (ANDROID)
|
|
|
|
link_android_libs(WebContent)
|
|
|
|
endif()
|
2023-07-04 10:02:19 +00:00
|
|
|
|
|
|
|
if (HAVE_PULSEAUDIO)
|
|
|
|
target_compile_definitions(WebContent PRIVATE HAVE_PULSEAUDIO=1)
|
|
|
|
endif()
|