Files
sourcekit-lsp/Sources/InProcessClient/CMakeLists.txt
Alex Hoppen da96d45443 Add a development subcommand to index a project
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.
2024-05-21 22:29:52 -07:00

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
)