mirror of
https://github.com/apple/swift.git
synced 2026-10-10 13:50:43 +02:00
This helper utility takes a module interface as input, and emits a Swift file importing the module and calling every function in the module. It's intended for testing of safe interop wrappers to make sure they go through the entire pipeline of the compiler instead of succumbing to laziness.
13 lines
342 B
CMake
13 lines
342 B
CMake
if (SWIFT_BUILD_SWIFT_SYNTAX)
|
|
add_pure_swift_host_tool(swift-function-caller-generator
|
|
Sources/swift-function-caller-generator/swift-function-caller-generator.swift
|
|
SWIFT_COMPONENT
|
|
testsuite-tools
|
|
SWIFT_DEPENDENCIES
|
|
SwiftSyntax
|
|
SwiftSyntaxBuilder
|
|
SwiftSyntaxMacros
|
|
PACKAGE_NAME Toolchain
|
|
)
|
|
endif()
|