LLBuildManifest
LLBuildManifest.swift:194struct LLBuildManifest
struct LLBuildManifest
import LLBuildManifest
init()
var commands: [CmdName : Command] { get }
The commands in the manifest.
var defaultTarget: String
The default target to build.
var targets: [TargetName : Target] { get }
The targets in the manifest.
mutating func addClangCmd(name: String, description: String, inputs: [Node], outputs: [Node], arguments: [String], dependencies: String? = nil)
mutating func addCopyCmd(name: String, inputs: [Node], outputs: [Node])
mutating func addEntitlementPlistCommand(entitlement: String, outputPath: AbsolutePath)
mutating func addNode(_ node: Node, toTarget target: TargetName)
mutating func addPhonyCmd(name: String, inputs: [Node], outputs: [Node])
mutating func addPkgStructureCmd(name: String, inputs: [Node], outputs: [Node])
mutating func addShellCmd(name: String, description: String, inputs: [Node], outputs: [Node], arguments: [String], environment: Environment = [:], workingDirectory: String? = nil, allowMissingInputs: Bool = false)
mutating func addSwiftCmd(name: String, inputs: [Node], outputs: [Node], executable: AbsolutePath, moduleName: String, moduleAliases: [String : String]?, moduleOutputPath: AbsolutePath, importPath: AbsolutePath, tempsPath: AbsolutePath, objects: [AbsolutePath], otherArguments: [String], sources: [AbsolutePath], fileList: AbsolutePath, isLibrary: Bool, wholeModuleOptimization: Bool, outputFileMapPath: AbsolutePath, prepareForIndexing: Bool)
mutating func addSwiftFrontendCmd(name: String, moduleName: String, packageName: String, description: String, inputs: [Node], outputs: [Node], arguments: [String])
mutating func addSwiftGetVersionCommand(swiftCompilerPath: AbsolutePath, swiftVersionFilePath: AbsolutePath)
mutating func addTestDiscoveryCmd(name: String, inputs: [Node], outputs: [Node])
mutating func addTestEntryPointCmd(name: String, inputs: [Node], outputs: [Node])
mutating func addWriteEmbeddedResourcesCommand(resources: [AbsolutePath], outputPath: AbsolutePath)
mutating func addWriteInfoPlistCommand(principalClass: String, outputPath: AbsolutePath)
mutating func addWriteLinkFileListCommand(objects: [AbsolutePath], linkFileListPath: AbsolutePath)
mutating func addWriteSourcesFileListCommand(sources: [AbsolutePath], sourcesFileListPath: AbsolutePath)
mutating func createTarget(_ name: TargetName)
func getCmdToolMap<T>(kind: T.Type) -> [CmdName : T] where T : ToolProtocol
typealias CmdName = String
typealias TargetName = String