Files
swift-mirror/tools/SourceKit/lib/SwiftLang/CMakeLists.txt
Alex Langford f5355d19ca [CMake][SourceKit] SwiftLang should depend on clang-tablegen-targets
SwiftLang relies on some clang headers that rely on clang tablegen targets.
2019-08-28 14:37:51 -07:00

54 lines
1.2 KiB
CMake

add_sourcekit_library(SourceKitSwiftLang
CodeCompletionOrganizer.cpp
SwiftASTManager.cpp
SwiftCompletion.cpp
SwiftConformingMethodList.cpp
SwiftDocSupport.cpp
SwiftEditor.cpp
SwiftEditorInterfaceGen.cpp
SwiftIndexing.cpp
SwiftLangSupport.cpp
SwiftSourceDocInfo.cpp
SwiftTypeContextInfo.cpp
LINK_LIBS
SourceKitCore swiftDriver swiftFrontend
swiftClangImporter swiftIDE
swiftAST swiftMarkup swiftParse swiftParseSIL swiftSIL swiftSILGen
swiftSILOptimizer swiftIRGen swiftSema swiftBasic swiftSerialization
swiftSyntax swiftOption libcmark_static
# Clang dependencies.
clangIndex
clangFormat
clangToolingCore
clangFrontendTool
clangFrontend
clangDriver
clangCodeGen
clangSerialization
clangParse
clangSema
clangAnalysis
clangEdit
clangRewriteFrontend
clangRewrite
clangLex
clangAST
clangAPINotes
clangBasic
LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD}
bitreader
bitwriter
coverage
debuginfodwarf
instrumentation
ipo
lto
mc
mcparser
option
objcarcopts
profiledata
)
add_dependencies(SourceKitSwiftLang clang-tablegen-targets)