mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
Move handle serialization and deserialization entirely into TransportSocketWindows so that Windows can share the common Message and File implementations with other platforms.
29 lines
609 B
CMake
29 lines
609 B
CMake
set(SOURCES
|
|
AutoCloseFileDescriptor.cpp
|
|
Connection.cpp
|
|
Decoder.cpp
|
|
Encoder.cpp
|
|
File.cpp
|
|
Message.cpp
|
|
TransportHandle.cpp
|
|
)
|
|
|
|
if (APPLE AND NOT IOS)
|
|
list(APPEND SOURCES
|
|
AttachmentMachPort.cpp
|
|
MachBootstrapListener.cpp
|
|
TransportBootstrapMach.cpp
|
|
TransportMachPort.cpp)
|
|
elseif (UNIX)
|
|
list(APPEND SOURCES
|
|
Attachment.cpp
|
|
TransportSocket.cpp)
|
|
else()
|
|
list(APPEND SOURCES
|
|
Attachment.cpp
|
|
TransportSocketWindows.cpp)
|
|
endif()
|
|
|
|
ladybird_lib(LibIPC ipc)
|
|
target_link_libraries(LibIPC PRIVATE LibCore LibURL LibThreading)
|