mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
This allows us to run `sourcekit-lsp index --project /path/to/project` to index a project. Intended to debugging purposes, eg. - Profile the time it takes to index a project - See if the project can be indexed successfully - Look at signposts generated during indexing in Instruments to see whether indexing or preparation is the bottleneck and how well we can parallelize tasks.
15 lines
332 B
CMake
15 lines
332 B
CMake
add_library(InProcessClient STATIC
|
|
InProcessSourceKitLSPClient.swift
|
|
LocalConnection.swift)
|
|
|
|
set_target_properties(InProcessClient PROPERTIES
|
|
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY})
|
|
|
|
target_link_libraries(InProcessClient PUBLIC
|
|
CAtomics
|
|
LanguageServerProtocol
|
|
LSPLogging
|
|
SKCore
|
|
SourceKitLSP
|
|
)
|