mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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
14 lines
357 B
CMake
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)
|