Files
swift-mirror/tools/SourceKit/lib/SwiftLang/CMakeLists.txt
Alex Blewitt 8531c5d190 Fix build errors for SourceKit on Linux (#5862)
The sourcekitd-repl, sourcekitd-test and complete-test use symbols
from both the coverage and lto modules, specifically
`llvm::coverage::CoverageFilenamesSectionWriter::write` and
`llvm::lto::thinBackend`. Adding these to the list of dependencies
allows SourceKit to be built on Linux.

Issue: SR-3223
2016-11-30 10:14:07 -08:00

48 lines
1.1 KiB
CMake

add_sourcekit_library(SourceKitSwiftLang
CodeCompletionOrganizer.cpp
SwiftASTManager.cpp
SwiftCompletion.cpp
SwiftDocSupport.cpp
SwiftEditor.cpp
SwiftEditorInterfaceGen.cpp
SwiftIndexing.cpp
SwiftLangSupport.cpp
SwiftSourceDocInfo.cpp
DEPENDS SourceKitCore swiftDriver swiftFrontend swiftClangImporter swiftIndex swiftIDE
swiftAST swiftMarkup swiftParse swiftSIL swiftSILGen swiftSILOptimizer
swiftSema swiftBasic swiftSerialization
swiftOption cmark
# Clang dependencies.
clangIndex
clangFormat
clangToolingCore
clangFrontendTool
clangFrontend
clangDriver
clangCodeGen
clangSerialization
clangParse
clangSema
clangAnalysis
clangEdit
clangRewriteFrontend
clangRewrite
clangLex
clangAST
clangAPINotes
clangBasic
LLVM_COMPONENT_DEPENDS ${LLVM_TARGETS_TO_BUILD}
bitreader
bitwriter
coverage
debuginfodwarf
instrumentation
ipo
lto
mc
mcparser
option
objcarcopts
profiledata
)