Files
swift-mirror/lib/FrontendTool/CMakeLists.txt
Steven Wu b326c55d82 [CAS] Full support for make-style dependencies file caching hit
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
2024-09-30 15:53:18 -07:00

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)