mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
f87041bf3a
Resulting in a massive rename across almost everywhere! Alongside the namespace change, we now have the following names: * JS::NonnullGCPtr -> GC::Ref * JS::GCPtr -> GC::Ptr * JS::HeapFunction -> GC::Function * JS::CellImpl -> GC::Cell * JS::Handle -> GC::Root
27 lines
1 KiB
CMake
27 lines
1 KiB
CMake
set(WEBWORKER_SOURCES
|
|
ConnectionFromClient.cpp
|
|
DedicatedWorkerHost.cpp
|
|
PageHost.cpp
|
|
)
|
|
|
|
# FIXME: Add Android service
|
|
|
|
add_library(webworkerservice STATIC ${WEBWORKER_SOURCES})
|
|
set_target_properties(webworkerservice PROPERTIES AUTOMOC OFF AUTORCC OFF AUTOUIC OFF)
|
|
|
|
target_include_directories(webworkerservice PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/../..)
|
|
target_include_directories(webworkerservice PRIVATE ${LADYBIRD_SOURCE_DIR})
|
|
target_include_directories(webworkerservice PRIVATE ${LADYBIRD_SOURCE_DIR}/Services/)
|
|
|
|
target_link_libraries(webworkerservice PUBLIC LibCore LibFileSystem LibGfx LibIPC LibJS LibRequests LibWeb LibWebView LibUnicode LibImageDecoderClient LibMain LibURL LibGC)
|
|
|
|
if (ENABLE_QT)
|
|
qt_add_executable(WebWorker main.cpp)
|
|
target_link_libraries(WebWorker PRIVATE webworkerservice LibWebSocket)
|
|
target_compile_definitions(WebWorker PRIVATE HAVE_QT=1)
|
|
else()
|
|
add_executable(WebWorker main.cpp)
|
|
endif()
|
|
|
|
target_include_directories(WebWorker PRIVATE ${LADYBIRD_SOURCE_DIR})
|
|
target_link_libraries(WebWorker PRIVATE webworkerservice)
|