Table of Contents
API Documentation: | SwiftCompile |
---|
Compiles Swift source files into object files.
Property | Description |
compilerArgs | Additional arguments to provide to the compiler. |
debuggable | Should the compiler generate debuggable code? |
macros | Macros that should be defined for the compiler. |
moduleFile | The location to write the Swift module file to. |
moduleName | The name of the module to produce. |
modules | The modules required to compile the source. |
objectFileDir | The directory where object files will be generated. |
optimized | Should the compiler generate optimized code? |
source | The source files to be compiled. |
sourceCompatibility | The Swift language level to use to compile the source files. |
targetPlatform | The platform being compiled for. |
toolChain | The tool chain used for compilation. |
Additional arguments to provide to the compiler.
Macros that should be defined for the compiler.
Macros do not have values in Swift; they are either present or absent.
The location to write the Swift module file to.
The modules required to compile the source.
The directory where object files will be generated.
The source files to be compiled.
The Swift language level to use to compile the source files.
The platform being compiled for.
The tool chain used for compilation.