mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
15 lines
555 B
CMake
15 lines
555 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
|
|
SKLogging)
|
|
target_link_libraries(LanguageServerProtocolJSONRPC PRIVATE
|
|
$<$<NOT:$<PLATFORM_ID:Darwin>>:swiftDispatch>
|
|
$<$<NOT:$<PLATFORM_ID:Darwin>>:Foundation>)
|