mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Move the source files from ParserSIL into the SIL library and remove the ParserSIL library. ParsersSIL doesn't need to be its own library and this change will simplify our builds.
48 lines
1.8 KiB
CMake
48 lines
1.8 KiB
CMake
# In the absence of fine grained tablegen dependencies we need to ensure that
|
|
# Swift's libraries all build after the LLVM & Clang tablegen-generated headers
|
|
# are generated. When building out-of-tree (as with build-script) LLVM & Clang's
|
|
# CMake configuration files create these targets as dummies so we can safely
|
|
# depend on them directly here (See: SR-6026)
|
|
# LLVM_COMMON_DEPENDS is a construct from the LLVM build system. It is a special
|
|
# purpose variable that provides common dependencies for all libraries, and
|
|
# executables generated when it is set. CMake's scoping rules enforce that these
|
|
# new dependencies will only be added to targets created under Swift's lib
|
|
# directory.
|
|
list(APPEND LLVM_COMMON_DEPENDS intrinsics_gen clang-tablegen-targets)
|
|
|
|
# Add generated libSyntax headers to global dependencies.
|
|
list(APPEND LLVM_COMMON_DEPENDS swift-syntax-generated-headers)
|
|
list(APPEND LLVM_COMMON_DEPENDS swift-parse-syntax-generated-headers)
|
|
|
|
add_subdirectory(AST)
|
|
add_subdirectory(ASTSectionImporter)
|
|
add_subdirectory(Basic)
|
|
add_subdirectory(ClangImporter)
|
|
add_subdirectory(Demangling)
|
|
add_subdirectory(Driver)
|
|
add_subdirectory(Frontend)
|
|
add_subdirectory(FrontendTool)
|
|
add_subdirectory(Index)
|
|
add_subdirectory(IDE)
|
|
add_subdirectory(Immediate)
|
|
add_subdirectory(IRGen)
|
|
add_subdirectory(LLVMPasses)
|
|
add_subdirectory(Markup)
|
|
add_subdirectory(Migrator)
|
|
add_subdirectory(Option)
|
|
add_subdirectory(Parse)
|
|
add_subdirectory(PrintAsObjC)
|
|
add_subdirectory(RemoteAST)
|
|
add_subdirectory(Sema)
|
|
add_subdirectory(Serialization)
|
|
add_subdirectory(SwiftDemangle)
|
|
add_subdirectory(SwiftReflection)
|
|
add_subdirectory(SwiftRemoteMirror)
|
|
add_subdirectory(SIL)
|
|
add_subdirectory(SILGen)
|
|
add_subdirectory(SILOptimizer)
|
|
add_subdirectory(SymbolGraphGen)
|
|
add_subdirectory(Syntax)
|
|
add_subdirectory(SyntaxParse)
|
|
add_subdirectory(TBDGen)
|