mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add new APIs libSwiftScan that can be used for cache query and cache replay. This enables swift-driver or build system to query the cache and replay the compilation results without invocation swift-frontend for better scheduling.
13 lines
311 B
CMake
13 lines
311 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
|
|
libSwiftScan)
|