Files
Henrik G. Olsson de49d687b0 add swift-function-caller-generator
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.
2025-10-17 15:13:55 -07:00

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()