# Package-level declarations

Model classes for building from Swift language sources.

## Types

ProductionSwiftComponent
Link copied to clipboard
interface ProductionSwiftComponent : SwiftComponent, ProductionComponent
Represents a Swift component that is the main product of a project.
SwiftApplication
Link copied to clipboard
interface SwiftApplication : ProductionSwiftComponent
Configuration for a Swift application, defining the source files that make up the application plus other settings.
SwiftBinary
Link copied to clipboard
interface SwiftBinary : ComponentWithObjectFiles, ComponentWithDependencies
A binary built from Swift source and linked from the resulting object files.
SwiftComponent
Link copied to clipboard
interface SwiftComponent : ComponentWithBinaries, ComponentWithDependencies, ComponentWithTargetMachines
Configuration for a Swift component, such as a library or executable, defining the source files that make up the component plus other settings.
SwiftExecutable
Link copied to clipboard
interface SwiftExecutable : SwiftBinary, ComponentWithExecutable, ComponentWithInstallation, ComponentWithOutputs
An executable built from Swift source.
SwiftLibrary
Link copied to clipboard
interface SwiftLibrary : ProductionSwiftComponent
Configuration for a Swift library, defining the source files that make up the library plus other settings.
SwiftPlatform
Link copied to clipboard
interface SwiftPlatform
A target platform for building Swift binaries.
SwiftSharedLibrary
Link copied to clipboard
interface SwiftSharedLibrary : SwiftBinary, ComponentWithSharedLibrary, ComponentWithRuntimeUsage, ComponentWithLinkUsage, ComponentWithOutputs
A shared library built from Swift source.
SwiftStaticLibrary
Link copied to clipboard
interface SwiftStaticLibrary : SwiftBinary, ComponentWithStaticLibrary, ComponentWithRuntimeUsage, ComponentWithLinkUsage, ComponentWithOutputs
A static library built from Swift source.
SwiftVersion
Link copied to clipboard
enum SwiftVersion
Swift version.