Files
swift-mirror/tools/swift-scan-test/CMakeLists.txt
Steven Wu 034c15ce54 [Caching] Add new CacheReplay APIs to libSwiftScan
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.
2023-11-03 15:59:56 -07:00

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)