mirror of
https://github.com/SerenityOS/serenity.git
synced 2026-11-07 04:29:30 -10:00
After the last 2 commits there is no need to keep using the Qt event loop. Upstream ladybird also stopped using the Qt event loop in 62c5f4b822d.
22 lines
930 B
CMake
22 lines
930 B
CMake
set(WEBWORKER_SOURCE_DIR ${SERENITY_SOURCE_DIR}/Userland/Services/WebWorker)
|
|
|
|
set(WEBWORKER_SOURCES
|
|
"${WEBWORKER_SOURCE_DIR}/ConnectionFromClient.cpp"
|
|
"${WEBWORKER_SOURCE_DIR}/DedicatedWorkerHost.cpp"
|
|
"${WEBWORKER_SOURCE_DIR}/PageHost.cpp"
|
|
../HelperProcess.cpp
|
|
../Utilities.cpp
|
|
)
|
|
|
|
add_library(webworker STATIC ${WEBWORKER_SOURCES})
|
|
|
|
target_include_directories(webworker PRIVATE ${SERENITY_SOURCE_DIR}/Userland/Services/)
|
|
target_include_directories(webworker PRIVATE ${SERENITY_SOURCE_DIR}/Userland/)
|
|
target_include_directories(webworker PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/..)
|
|
target_link_libraries(webworker PUBLIC LibCore LibFileSystem LibGfx LibIPC LibJS LibProtocol LibWeb LibWebView LibLocale LibImageDecoderClient LibMain LibSQL LibURL)
|
|
|
|
add_executable(WebWorker main.cpp)
|
|
|
|
target_include_directories(WebWorker PRIVATE ${SERENITY_SOURCE_DIR}/Userland/)
|
|
target_link_libraries(WebWorker PRIVATE webworker)
|