mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
OutputFileMap is responsible for loading an "output file map", which maps input
paths (as specified on the command line) to per-output-kind paths.
This will permit the explicit specification of the outputs of each frontend
invocation: the primary output (e.g. "object" or "sil"), as well as the partial
swiftmodule and serialized diagnostics outputs (if requested).
The format (in JSON) is:
{
<input> = {
<kind> = <path>,
<kind> = <path>,
...
},
<input> = { ... },
...
}
Swift SVN r12771
16 lines
267 B
CMake
16 lines
267 B
CMake
add_swift_library(swiftDriver
|
|
Action.cpp
|
|
Compilation.cpp
|
|
Driver.cpp
|
|
Job.cpp
|
|
Options.cpp
|
|
OutputFileMap.cpp
|
|
Tool.cpp
|
|
Tools.cpp
|
|
ToolChain.cpp
|
|
ToolChains.cpp
|
|
Types.cpp
|
|
DEPENDS swiftAST swiftBasic)
|
|
|
|
add_dependencies(swiftDriver SwiftDriverOptions)
|