mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
'ModuleDependencyScanner' maintains a Thread Pool along with a pool of workers which are capable of executing a filesystem lookup of a named module dependency. When resolving imports of a given Swift module, each import's resolution operation can be issued asunchronously.
15 lines
298 B
CMake
15 lines
298 B
CMake
add_swift_unittest(swiftScanTests
|
|
ScanFixture.cpp
|
|
Features.cpp
|
|
PrintTarget.cpp
|
|
ModuleDeps.cpp)
|
|
|
|
target_link_libraries(swiftScanTests
|
|
PRIVATE
|
|
swiftFrontend
|
|
swiftDependencyScan
|
|
libSwiftScan)
|
|
|
|
target_compile_definitions(swiftScanTests PRIVATE
|
|
SWIFTLIB_DIR=\"${SWIFTLIB_DIR}\")
|