mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This patch provides an API and Serialization for clang-style diagnostics from within Swift. Libraries can use this API to pop their own custom diagnostics that can be serialized to JSON.
30 lines
723 B
CMake
30 lines
723 B
CMake
add_swift_library(swiftSwiftSyntax SHARED
|
|
# This file should be listed the first. Module name is inferred from the
|
|
# filename.
|
|
SwiftSyntax.swift
|
|
AtomicCache.swift
|
|
Diagnostic.swift
|
|
DiagnosticConsumer.swift
|
|
DiagnosticEngine.swift
|
|
JSONDiagnosticConsumer.swift
|
|
PrintingDiagnosticConsumer.swift
|
|
RawSyntax.swift
|
|
SourcePresence.swift
|
|
SwiftcInvocation.swift
|
|
Syntax.swift
|
|
SyntaxData.swift
|
|
SyntaxChildren.swift
|
|
SyntaxCollection.swift
|
|
SyntaxBuilders.swift.gyb
|
|
SyntaxFactory.swift.gyb
|
|
SyntaxKind.swift.gyb
|
|
SyntaxNodes.swift.gyb
|
|
SyntaxRewriter.swift.gyb
|
|
TokenKind.swift.gyb
|
|
Trivia.swift
|
|
|
|
SWIFT_MODULE_DEPENDS Foundation
|
|
INSTALL_IN_COMPONENT swift-syntax
|
|
TARGET_SDKS OSX
|
|
IS_STDLIB)
|