mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Replace Attr.def with a gyb file that reads from swift-syntax to automatically generate the attribute nodes. For now, only the Swift attributes have been migrated. SIL attributes can be defined manually in Attr.def.gyb. To add new Swift attributes, a paired pull request to swift-syntax is now necessary.
16 lines
344 B
CMake
16 lines
344 B
CMake
add_subdirectory(Runtime)
|
|
|
|
if(SWIFT_BUILD_REMOTE_MIRROR)
|
|
add_subdirectory(SwiftRemoteMirror)
|
|
endif()
|
|
|
|
if(SWIFT_INCLUDE_TOOLS)
|
|
configure_file(Config.h.in ${CMAKE_CURRENT_BINARY_DIR}/Config.h
|
|
ESCAPE_QUOTES @ONLY)
|
|
add_subdirectory(AST)
|
|
add_subdirectory(Option)
|
|
add_subdirectory(Parse)
|
|
add_subdirectory(Syntax)
|
|
endif()
|
|
|