mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 02:27:19 +02:00
This reduces the number of compilation jobs when System.h changes from about 750 to 60. (There are still a large number of linker jobs.)
22 lines
416 B
CMake
22 lines
416 B
CMake
set(SOURCES
|
|
AutoCloseFileDescriptor.cpp
|
|
Connection.cpp
|
|
Decoder.cpp
|
|
Encoder.cpp
|
|
)
|
|
|
|
if (UNIX)
|
|
list(APPEND SOURCES
|
|
File.cpp
|
|
Message.cpp
|
|
TransportSocket.cpp)
|
|
else()
|
|
list(APPEND SOURCES
|
|
FileWindows.cpp
|
|
MessageWindows.cpp
|
|
TransportSocketWindows.cpp)
|
|
endif()
|
|
|
|
ladybird_lib(LibIPC ipc)
|
|
target_link_libraries(LibIPC PRIVATE LibCore LibURL LibThreading)
|