Executable
The executable product of a Swift package.
Product.swift:71Product-Executable.mdfinal class Executable
Describing an executable product
let targets: [String]
The names of the targets in this product.
Superclasses
class Product
The object that defines a package product.
See also
static func executable(name: String, targets: [String]
) -> Product Creates an executable package product.
Other members in extension
Types
class Library
The library product of a Swift package.
class Plugin
The plug-in product of a Swift package.
Type members
static func library(name: String, type: Product.Library.LibraryType?, targets: [String]
) -> Product Creates a library product to allow clients that declare a dependency on this package to use the package’s functionality.
static func plugin(name: String, targets: [String]
) -> Product Defines a product that vends a package plugin target for use by clients of the package.
Instance members
let name: String
The name of the package product.