Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Sources/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

add_subdirectory(_SwiftLibraryPluginProviderCShims)
add_subdirectory(_SwiftSyntaxCShims)
add_subdirectory(_SwiftSyntaxGenericTestSupport)
add_subdirectory(SwiftBasicFormat)
add_subdirectory(SwiftSyntax)
add_subdirectory(SwiftDiagnostics)
Expand All @@ -21,6 +22,7 @@ add_subdirectory(SwiftIfConfig)
add_subdirectory(SwiftSyntaxBuilder)
add_subdirectory(SwiftSyntaxMacros)
add_subdirectory(SwiftSyntaxMacroExpansion)
add_subdirectory(SwiftSyntaxMacrosGenericTestSupport)
add_subdirectory(SwiftCompilerPluginMessageHandling)
add_subdirectory(SwiftIDEUtils)
add_subdirectory(SwiftCompilerPlugin)
Expand Down
24 changes: 24 additions & 0 deletions Sources/SwiftSyntaxMacrosGenericTestSupport/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# This source file is part of the Swift.org open source project
#
# Copyright (c) 2014 - 2026 Apple Inc. and the Swift project authors
# Licensed under Apache License v2.0 with Runtime Library Exception
#
# See http://swift.org/LICENSE.txt for license information
# See http://swift.org/CONTRIBUTORS.txt for Swift project authors

add_swift_syntax_library(SwiftSyntaxMacrosGenericTestSupport
EXCLUDE_FROM_ALL
Assertions.swift
)

target_link_swift_syntax_libraries(SwiftSyntaxMacrosGenericTestSupport PUBLIC
_SwiftSyntaxGenericTestSupport
SwiftDiagnostics
SwiftIDEUtils
SwiftIfConfig
SwiftParser
SwiftParserDiagnostics
SwiftSyntaxMacros
SwiftSyntaxMacroExpansion
)

17 changes: 17 additions & 0 deletions Sources/_SwiftSyntaxGenericTestSupport/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This source file is part of the Swift.org open source project
#
# Copyright (c) 2014 - 2026 Apple Inc. and the Swift project authors
# Licensed under Apache License v2.0 with Runtime Library Exception
#
# See http://swift.org/LICENSE.txt for license information
# See http://swift.org/CONTRIBUTORS.txt for Swift project authors

add_swift_syntax_library(_SwiftSyntaxGenericTestSupport
EXCLUDE_FROM_ALL
AssertEqualWithDiff.swift
String+TrimmingTrailingWhitespace.swift
)

target_link_swift_syntax_libraries(_SwiftSyntaxGenericTestSupport PUBLIC
)