Files
swift-mirror/tools/SourceKit/lib/SwiftLang/CMakeLists.txt
Rintaro Ishizaki 8d8ec09280 [SourceKit] Move demangle/mangle logic to SwfitLangSupport
'sourcekitd' itself should not call 'swift::' functions.  It should just
deserialize the request, execute the logic in LangSupport, then serialize
the result.
2023-01-19 14:45:56 -08:00

70 lines
1.3 KiB
CMake

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
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
libcmark-gfm_static
# 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)