Files
Alex Hoppen 757a029664 Log messages from the build server and clangd
Log messages sent to clangd and the build server in a similar way that we log requests to sourcekitd.

Fixes #886
rdar://116705677
2023-12-12 14:05:25 -08:00

15 lines
556 B
CMake

add_library(LanguageServerProtocolJSONRPC STATIC
DisableSigpipe.swift
JSONRPCConnection.swift
LoggableMessageTypes.swift
MessageCoding.swift
MessageSplitting.swift)
set_target_properties(LanguageServerProtocolJSONRPC PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY})
target_link_libraries(LanguageServerProtocolJSONRPC PRIVATE
LanguageServerProtocol
LSPLogging)
target_link_libraries(LanguageServerProtocolJSONRPC PRIVATE
$<$<NOT:$<PLATFORM_ID:Darwin>>:swiftDispatch>
$<$<NOT:$<PLATFORM_ID:Darwin>>:Foundation>)