mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Fully support make-style `.d` dependencies file output by making following improvements: * All correct dependency file render when cache hit for a different output file location. The dependency file should list the correct output path, not the stale output path for the initial compilation * When enable a path prefix mapper to canonicalize the path, the dependency file should render the input file correctly as the input file path on disk. rdar://132250067
31 lines
658 B
CMake
31 lines
658 B
CMake
|
|
add_swift_host_library(swiftFrontendTool STATIC
|
|
FrontendTool.cpp
|
|
ImportedModules.cpp
|
|
LoadedModuleTrace.cpp
|
|
TBD.cpp)
|
|
add_dependencies(swiftFrontendTool
|
|
SwiftOptions)
|
|
target_link_libraries(swiftFrontendTool INTERFACE
|
|
clangAPINotes
|
|
clangBasic)
|
|
target_link_libraries(swiftFrontendTool PRIVATE
|
|
swiftClangImporter
|
|
swiftConstExtract
|
|
swiftDemangling
|
|
swiftDependencyScan
|
|
swiftFrontend
|
|
swiftImmediate
|
|
swiftIndex
|
|
swiftIRGen
|
|
swiftMigrator
|
|
swiftOption
|
|
swiftPrintAsClang
|
|
swiftSerialization
|
|
swiftSIL
|
|
swiftSILGen
|
|
swiftSILOptimizer
|
|
swiftThreading)
|
|
|
|
set_swift_llvm_is_available(swiftFrontendTool)
|