Skip to content

Commit 8fe23e6

Browse files
authored
Merge pull request #309 from compnerd/build
build: update CMakeLists.txt
2 parents 3cb6642 + c55c71d commit 8fe23e6

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

Sources/LanguageServerProtocol/CMakeLists.txt

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ add_library(LanguageServerProtocol
66
Message.swift
77
MessageRegistry.swift
88
Messages.swift
9+
PositionRange.swift
10+
Request.swift
11+
RequestID.swift
12+
913
Notifications/CancelRequestNotification.swift
1014
Notifications/ConfigurationNotification.swift
1115
Notifications/DidChangeWorkspaceFoldersNotification.swift
@@ -15,9 +19,7 @@ add_library(LanguageServerProtocol
1519
Notifications/PublishDiagnosticsNotification.swift
1620
Notifications/ShowMessageNotification.swift
1721
Notifications/TextSynchronizationNotifications.swift
18-
PositionRange.swift
19-
Request.swift
20-
RequestID.swift
22+
2123
Requests/ApplyEditRequest.swift
2224
Requests/CodeActionRequest.swift
2325
Requests/ColorPresentationRequest.swift
@@ -39,6 +41,7 @@ add_library(LanguageServerProtocol
3941
Requests/SymbolInfoRequest.swift
4042
Requests/WorkspaceFoldersRequest.swift
4143
Requests/WorkspaceSymbolsRequest.swift
44+
4245
SupportTypes/ClientCapabilities.swift
4346
SupportTypes/CodeActionKind.swift
4447
SupportTypes/Command.swift
@@ -47,14 +50,15 @@ add_library(LanguageServerProtocol
4750
SupportTypes/Diagnostic.swift
4851
SupportTypes/DocumentURI.swift
4952
SupportTypes/FoldingRangeKind.swift
50-
SupportTypes/LSPAny.swift
5153
SupportTypes/Language.swift
5254
SupportTypes/Location.swift
5355
SupportTypes/LocationLink.swift
5456
SupportTypes/LocationsOrLocationLinksResponse.swift
57+
SupportTypes/LSPAny.swift
5558
SupportTypes/MarkupContent.swift
5659
SupportTypes/Position.swift
5760
SupportTypes/ServerCapabilities.swift
61+
SupportTypes/SKCompletionOptions.swift
5862
SupportTypes/SymbolKind.swift
5963
SupportTypes/TextDocumentContentChangeEvent.swift
6064
SupportTypes/TextDocumentEdit.swift
@@ -66,8 +70,7 @@ add_library(LanguageServerProtocol
6670
SupportTypes/WindowMessageType.swift
6771
SupportTypes/WorkspaceEdit.swift
6872
SupportTypes/WorkspaceFolder.swift
69-
SupportTypes/WorkspaceSettings.swift
70-
)
73+
SupportTypes/WorkspaceSettings.swift)
7174
set_target_properties(LanguageServerProtocol PROPERTIES
7275
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY})
7376
if(NOT CMAKE_SYSTEM_NAME STREQUAL Darwin)

Sources/SourceKitLSP/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ add_library(SourceKitLSP
1717
target_sources(SourceKitLSP PRIVATE
1818
Clang/ClangLanguageServer.swift)
1919
target_sources(SourceKitLSP PRIVATE
20+
Swift/CodeCompletion.swift
21+
Swift/CodeCompletionSession.swift
2022
Swift/CommentXML.swift
2123
Swift/CursorInfo.swift
2224
Swift/Diagnostic.swift

0 commit comments

Comments
 (0)