mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This removes the custom `LINK_LIBS` in favour of `target_link_libraries`. This simplifies the custom functions that we have for adding libraries, makes it easier to query the information from ninja and will allow us to slowly remove more of the custom logic for building the products.
67 lines
1.2 KiB
CMake
67 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
|
|
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
|
|
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)
|
|
add_dependencies(SourceKitSwiftLang clang-tablegen-targets)
|