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