File tree Expand file tree Collapse file tree 9 files changed +24
-21
lines changed Expand file tree Collapse file tree 9 files changed +24
-21
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ find_package(LLBuild QUIET)
21
21
find_package (ArgumentParser CONFIG REQUIRED )
22
22
find_package (SwiftCollections QUIET )
23
23
find_package (SwiftSystem CONFIG REQUIRED )
24
- find_package (SwiftSyntax CONFIG REQUIRED )
24
+ find_package (SwiftSyntax CONFIG REQUIRED )
25
25
find_package (SwiftCrypto CONFIG REQUIRED )
26
26
27
27
include (SwiftSupport )
Original file line number Diff line number Diff line change @@ -5,14 +5,10 @@ add_library(LSPLogging STATIC
5
5
LoggingScope.swift
6
6
NonDarwinLogging.swift
7
7
OrLog.swift
8
- SplitLogMessage.swift
9
- )
8
+ SplitLogMessage.swift )
10
9
set_target_properties (LSPLogging PROPERTIES
11
10
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY} )
12
11
target_link_libraries (LSPLogging PRIVATE
13
- $< $< NOT:$< PLATFORM_ID:Darwin> > :Foundation>
14
- )
15
-
12
+ $< $< NOT:$< PLATFORM_ID:Darwin> > :Foundation> )
16
13
target_link_libraries (LSPLogging PUBLIC
17
- Crypto
18
- )
14
+ Crypto )
Original file line number Diff line number Diff line change @@ -136,8 +136,5 @@ add_library(LanguageServerProtocol STATIC
136
136
set_target_properties (LanguageServerProtocol PROPERTIES
137
137
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY} )
138
138
target_link_libraries (LanguageServerProtocol PUBLIC
139
- LSPLogging
140
- SKSupport
141
- TSCBasic
142
139
$< $< NOT:$< PLATFORM_ID:Darwin> > :swiftDispatch>
143
140
$< $< NOT:$< PLATFORM_ID:Darwin> > :Foundation> )
Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ target_link_libraries(SKCore PRIVATE
20
20
BuildServerProtocol
21
21
LanguageServerProtocol
22
22
LanguageServerProtocolJSONRPC
23
- PackageModel
23
+ LSPLogging
24
24
SKSupport
25
- SourceKitD )
25
+ SourceKitD
26
+ PackageModel
27
+ TSCBasic )
Original file line number Diff line number Diff line change @@ -16,5 +16,7 @@ add_library(SKSupport STATIC
16
16
set_target_properties (SKSupport PROPERTIES
17
17
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY} )
18
18
target_link_libraries (SKSupport PRIVATE
19
+ LanguageServerProtocol
20
+ LSPLogging
19
21
TSCBasic
20
22
$< $< NOT:$< PLATFORM_ID:Darwin> > :Foundation> )
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ set_target_properties(SKSwiftPMWorkspace PROPERTIES
6
6
target_link_libraries (SKSwiftPMWorkspace PRIVATE
7
7
BuildServerProtocol
8
8
LanguageServerProtocol
9
- SKCore )
9
+ LSPLogging
10
+ SKCore
11
+ TSCBasic )
10
12
target_link_libraries (SKSwiftPMWorkspace PUBLIC
11
13
Build )
Original file line number Diff line number Diff line change @@ -12,8 +12,9 @@ add_library(SourceKitD STATIC
12
12
sourcekitd_uids.swift )
13
13
set_target_properties (SourceKitD PROPERTIES
14
14
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY} )
15
+ target_link_libraries (SourceKitD PUBLIC
16
+ Csourcekitd )
15
17
target_link_libraries (SourceKitD PRIVATE
16
- Csourcekitd
17
18
LSPLogging
18
19
SKSupport
19
20
TSCBasic
Original file line number Diff line number Diff line change @@ -38,21 +38,21 @@ set_target_properties(SourceKitLSP PROPERTIES
38
38
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY} )
39
39
# TODO(compnerd) reduce the exposure here, why is everything PUBLIC-ly linked?
40
40
target_link_libraries (SourceKitLSP PUBLIC
41
- Csourcekitd
42
41
BuildServerProtocol
43
- IndexStoreDB
44
42
LanguageServerProtocol
45
43
LanguageServerProtocolJSONRPC
44
+ LSPLogging
46
45
SKCore
46
+ SKSupport
47
47
SKSwiftPMWorkspace
48
48
SourceKitD
49
+ IndexStoreDB
49
50
SwiftSyntax::SwiftBasicFormat
50
51
SwiftSyntax::SwiftDiagnostics
51
52
SwiftSyntax::SwiftIDEUtils
52
53
SwiftSyntax::SwiftParser
53
54
SwiftSyntax::SwiftParserDiagnostics
54
- SwiftSyntax::SwiftSyntax
55
- )
55
+ SwiftSyntax::SwiftSyntax )
56
56
target_link_libraries (SourceKitLSP PRIVATE
57
57
$< $< NOT:$< PLATFORM_ID:Darwin> > :FoundationXML> )
58
58
Original file line number Diff line number Diff line change 2
2
add_executable (sourcekit-lsp
3
3
SourceKitLSP.swift )
4
4
target_link_libraries (sourcekit-lsp PRIVATE
5
- ArgumentParser
5
+ LanguageServerProtocol
6
6
LanguageServerProtocolJSONRPC
7
7
SKCore
8
- SourceKitLSP )
8
+ SKSupport
9
+ SourceKitLSP
10
+ ArgumentParser
11
+ TSCBasic )
9
12
target_compile_options (sourcekit-lsp PRIVATE
10
13
-parse-as-library )
11
14
target_link_libraries (sourcekit-lsp PRIVATE
You can’t perform that action at this time.
0 commit comments