Files
swift-mirror/tools/SwiftSyntax/CMakeLists.txt
Alex Hoppen 56bf9a3469 [SwiftSyntax] Refactor AbsolutePosition
AbsolutePosition being a mutable reference type easily leads to bugs
where an AbsolutePosition is modified. Making it immutable eliminates
this issue. Furthermore, the introduction of SourceLength should allow
easier manipulation of AbsolutePositions on the client side.

We still cannot make AbsolutePosition a value type since it is used
inside AtomicCache, but the immutability gives the same safety.
2018-08-01 11:55:35 -07:00

33 lines
807 B
CMake

add_swift_library(swiftSwiftSyntax SHARED
# This file should be listed the first. Module name is inferred from the
# filename.
SwiftSyntax.swift
AbsolutePosition.swift
AtomicCache.swift
Diagnostic.swift
DiagnosticConsumer.swift
DiagnosticEngine.swift
JSONDiagnosticConsumer.swift
PrintingDiagnosticConsumer.swift
RawSyntax.swift
SourcePresence.swift
SourceLength.swift
SwiftcInvocation.swift
Syntax.swift
SyntaxData.swift
SyntaxChildren.swift
SyntaxCollections.swift.gyb
SyntaxClassifier.swift.gyb
SyntaxBuilders.swift.gyb
SyntaxFactory.swift.gyb
SyntaxKind.swift.gyb
SyntaxNodes.swift.gyb
SyntaxRewriter.swift.gyb
TokenKind.swift.gyb
Trivia.swift.gyb
SWIFT_MODULE_DEPENDS Foundation
INSTALL_IN_COMPONENT swift-syntax
TARGET_SDKS OSX
IS_STDLIB)