Files
swift-mirror/tools/swift-scan-test/CMakeLists.txt
Steven Wu 47598bbe8f [ScanDependency] Respect working directory set inside invocation
Teach scanner to respect the working directory set in the invocation
through scanner C API.

Also add test infrastructure to testing scanner from C API. Break up
DependencyScan lib into two so the swift-scan-test and remain small
without understanding swift AST.

rdar://127626011
2024-05-22 11:04:45 -07:00

14 lines
357 B
CMake

add_swift_host_tool(swift-scan-test
swift-scan-test.cpp
LLVM_LINK_COMPONENTS support
SWIFT_COMPONENT tools
THINLTO_LD64_ADD_FLTO_CODEGEN_ONLY
DOES_NOT_USE_SWIFT
)
target_link_libraries(swift-scan-test
PRIVATE
swiftBasic
swiftDependencyScanImpl
libSwiftScan)