2023-11-08 18:47:41 +00:00
|
|
|
set(WEBWORKER_SOURCE_DIR ${SERENITY_SOURCE_DIR}/Userland/Services/WebWorker)
|
|
|
|
|
|
|
|
set(CMAKE_AUTOMOC OFF)
|
|
|
|
set(CMAKE_AUTORCC OFF)
|
|
|
|
set(CMAKE_AUTOUIC OFF)
|
|
|
|
|
|
|
|
set(WEBWORKER_SOURCES
|
|
|
|
"${WEBWORKER_SOURCE_DIR}/ConnectionFromClient.cpp"
|
|
|
|
"${WEBWORKER_SOURCE_DIR}/DedicatedWorkerHost.cpp"
|
|
|
|
"${WEBWORKER_SOURCE_DIR}/PageHost.cpp"
|
|
|
|
../HelperProcess.cpp
|
|
|
|
../Utilities.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
# FIXME: Add Android service
|
|
|
|
|
|
|
|
add_library(webworker STATIC ${WEBWORKER_SOURCES})
|
|
|
|
|
|
|
|
target_include_directories(webworker PRIVATE ${SERENITY_SOURCE_DIR}/Userland/Services/)
|
2024-03-07 00:10:16 +00:00
|
|
|
target_include_directories(webworker PRIVATE ${SERENITY_SOURCE_DIR}/Userland/)
|
2023-11-08 18:47:41 +00:00
|
|
|
target_include_directories(webworker PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/..)
|
2024-03-18 03:22:27 +00:00
|
|
|
target_link_libraries(webworker PUBLIC LibCore LibFileSystem LibGfx LibIPC LibJS LibProtocol LibWeb LibWebView LibLocale LibImageDecoderClient LibMain LibURL)
|
2023-11-08 18:47:41 +00:00
|
|
|
|
|
|
|
add_executable(WebWorker main.cpp)
|
2024-03-07 00:10:16 +00:00
|
|
|
target_include_directories(WebWorker PRIVATE ${SERENITY_SOURCE_DIR}/Userland/)
|
2023-11-08 18:47:41 +00:00
|
|
|
target_link_libraries(WebWorker PRIVATE webworker)
|