Skip to content

build: update CMakeLists.txt #309

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions Sources/LanguageServerProtocol/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ add_library(LanguageServerProtocol
Message.swift
MessageRegistry.swift
Messages.swift
PositionRange.swift
Request.swift
RequestID.swift

Notifications/CancelRequestNotification.swift
Notifications/ConfigurationNotification.swift
Notifications/DidChangeWorkspaceFoldersNotification.swift
Expand All @@ -15,9 +19,7 @@ add_library(LanguageServerProtocol
Notifications/PublishDiagnosticsNotification.swift
Notifications/ShowMessageNotification.swift
Notifications/TextSynchronizationNotifications.swift
PositionRange.swift
Request.swift
RequestID.swift

Requests/ApplyEditRequest.swift
Requests/CodeActionRequest.swift
Requests/ColorPresentationRequest.swift
Expand All @@ -39,6 +41,7 @@ add_library(LanguageServerProtocol
Requests/SymbolInfoRequest.swift
Requests/WorkspaceFoldersRequest.swift
Requests/WorkspaceSymbolsRequest.swift

SupportTypes/ClientCapabilities.swift
SupportTypes/CodeActionKind.swift
SupportTypes/Command.swift
Expand All @@ -47,14 +50,15 @@ add_library(LanguageServerProtocol
SupportTypes/Diagnostic.swift
SupportTypes/DocumentURI.swift
SupportTypes/FoldingRangeKind.swift
SupportTypes/LSPAny.swift
SupportTypes/Language.swift
SupportTypes/Location.swift
SupportTypes/LocationLink.swift
SupportTypes/LocationsOrLocationLinksResponse.swift
SupportTypes/LSPAny.swift
SupportTypes/MarkupContent.swift
SupportTypes/Position.swift
SupportTypes/ServerCapabilities.swift
SupportTypes/SKCompletionOptions.swift
SupportTypes/SymbolKind.swift
SupportTypes/TextDocumentContentChangeEvent.swift
SupportTypes/TextDocumentEdit.swift
Expand All @@ -66,8 +70,7 @@ add_library(LanguageServerProtocol
SupportTypes/WindowMessageType.swift
SupportTypes/WorkspaceEdit.swift
SupportTypes/WorkspaceFolder.swift
SupportTypes/WorkspaceSettings.swift
)
SupportTypes/WorkspaceSettings.swift)
set_target_properties(LanguageServerProtocol PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY})
if(NOT CMAKE_SYSTEM_NAME STREQUAL Darwin)
Expand Down
2 changes: 2 additions & 0 deletions Sources/SourceKitLSP/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ add_library(SourceKitLSP
target_sources(SourceKitLSP PRIVATE
Clang/ClangLanguageServer.swift)
target_sources(SourceKitLSP PRIVATE
Swift/CodeCompletion.swift
Swift/CodeCompletionSession.swift
Swift/CommentXML.swift
Swift/CursorInfo.swift
Swift/Diagnostic.swift
Expand Down