mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The C++-based driver is deprecated and this will help reduce the code surface that requires maintenance as the legacy driver is fully sunset.
30 lines
524 B
CMake
30 lines
524 B
CMake
|
|
|
|
set(swiftDriver_sources
|
|
Action.cpp
|
|
Compilation.cpp
|
|
DarwinToolChains.cpp
|
|
Driver.cpp
|
|
FrontendUtil.cpp
|
|
Job.cpp
|
|
PrettyStackTrace.cpp
|
|
ToolChain.cpp
|
|
ToolChains.cpp
|
|
UnixToolChains.cpp
|
|
WebAssemblyToolChains.cpp
|
|
WindowsToolChains.cpp
|
|
)
|
|
|
|
set(swiftDriver_targetDefines)
|
|
|
|
add_swift_host_library(swiftDriver STATIC
|
|
${swiftDriver_sources})
|
|
add_dependencies(swiftDriver
|
|
SwiftOptions)
|
|
target_link_libraries(swiftDriver PRIVATE
|
|
swiftAST
|
|
swiftBasic
|
|
swiftOption)
|
|
|
|
set_swift_llvm_is_available(swiftDriver)
|