mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
This allows us to more easily test behavior for build servers that have different behavior than SwiftPM and compile commands without having to implement the build server in Python.
43 lines
1.2 KiB
CMake
43 lines
1.2 KiB
CMake
|
|
add_library(BuildSystemIntegration STATIC
|
|
BuildSettingsLogger.swift
|
|
BuildSystemHooks.swift
|
|
BuildSystemManager.swift
|
|
BuildSystemManagerDelegate.swift
|
|
BuildSystemMessageDependencyTracker.swift
|
|
BuildTargetIdentifierExtensions.swift
|
|
BuiltInBuildSystem.swift
|
|
BuiltInBuildSystemAdapter.swift
|
|
CompilationDatabase.swift
|
|
CompilerCommandLineOption.swift
|
|
DetermineBuildSystem.swift
|
|
ExternalBuildSystemAdapter.swift
|
|
FallbackBuildSettings.swift
|
|
FileBuildSettings.swift
|
|
FixedCompilationDatabaseBuildSystem.swift
|
|
JSONCompilationDatabaseBuildSystem.swift
|
|
LegacyBuildServerBuildSystem.swift
|
|
MainFilesProvider.swift
|
|
SplitShellCommand.swift
|
|
SwiftPMBuildSystem.swift)
|
|
set_target_properties(BuildSystemIntegration PROPERTIES
|
|
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY})
|
|
target_link_libraries(BuildSystemIntegration PUBLIC
|
|
BuildServerProtocol
|
|
LanguageServerProtocol
|
|
LanguageServerProtocolJSONRPC
|
|
SKLogging
|
|
SKOptions
|
|
LanguageServerProtocolExtensions
|
|
SourceKitD
|
|
SwiftExtensions
|
|
ToolchainRegistry
|
|
PackageModel
|
|
TSCBasic
|
|
Build
|
|
SourceKitLSPAPI)
|
|
|
|
target_link_libraries(BuildSystemIntegration PRIVATE
|
|
SKUtilities
|
|
TSCExtensions)
|