mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
24 lines
757 B
CMake
24 lines
757 B
CMake
|
|
add_library(LanguageServerProtocolExtensions STATIC
|
|
Connection+Send.swift
|
|
DocumentURI+CustomLogStringConvertible.swift
|
|
DocumentURI+symlinkTarget.swift
|
|
Language+InferredFromFileExtension.swift
|
|
LocalConnection.swift
|
|
QueueBasedMessageHandler.swift
|
|
RequestAndReply.swift
|
|
ResponseError+Init.swift
|
|
WorkDoneProgressManager.swift
|
|
)
|
|
set_target_properties(LanguageServerProtocolExtensions PROPERTIES
|
|
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY})
|
|
target_link_libraries(LanguageServerProtocolExtensions PUBLIC
|
|
SourceKitD)
|
|
target_link_libraries(LanguageServerProtocolExtensions PRIVATE
|
|
LanguageServerProtocol
|
|
LanguageServerProtocolJSONRPC
|
|
SKLogging
|
|
SwiftExtensions
|
|
TSCBasic
|
|
$<$<NOT:$<PLATFORM_ID:Darwin>>:Foundation>)
|