SwiftPMLibrariesLocation
ToolchainConfiguration.swift:85struct SwiftPMLibrariesLocation
struct SwiftPMLibrariesLocation
s12PackageModel22ToolchainConfigurationV24SwiftPMLibrariesLocationV
What are these?3A9D0
import PackageModel
struct ToolchainConfiguration
Toolchain configuration required for evaluation of swift code such as the manifests or plugins
init(librarianPath: AbsolutePath, swiftCompilerPath: AbsolutePath, swiftCompilerFlags: [String] = [], swiftCompilerEnvironment: Environment = .current, swiftPMLibrariesLocation: SwiftPMLibrariesLocation? = nil, sdkRootPath: AbsolutePath? = nil, xctestPath: AbsolutePath? = nil, swiftTestingPath: AbsolutePath? = nil)
Creates the set of manifest resources associated with a swiftc
executable.
var librarianPath: AbsolutePath
The path of the librarian.
var sdkRootPath: AbsolutePath?
The path to SDK root.
var swiftCompilerEnvironment: Environment
Environment to pass to the Swift compiler (defaults to the inherited environment).
var swiftCompilerFlags: [String]
Extra arguments to pass the Swift compiler (defaults to the empty string).
var swiftCompilerPath: AbsolutePath
The path of the swift compiler.
var swiftPMLibrariesLocation: SwiftPMLibrariesLocation
SwiftPM library paths.
var swiftTestingPath: AbsolutePath?
Path to the swift-testing utility. Currently computed only for Windows.
var xctestPath: AbsolutePath?
Path to the XCTest utility.
init(manifestLibraryPath: AbsolutePath, manifestModulesPath: AbsolutePath? = nil, manifestLibraryMinimumDeploymentTarget: PlatformVersion? = nil, pluginLibraryPath: AbsolutePath, pluginModulesPath: AbsolutePath? = nil, pluginLibraryMinimumDeploymentTarget: PlatformVersion? = nil)
init(root: AbsolutePath, manifestLibraryMinimumDeploymentTarget: PlatformVersion? = nil, pluginLibraryMinimumDeploymentTarget: PlatformVersion? = nil)
init(swiftCompilerPath: AbsolutePath, manifestLibraryMinimumDeploymentTarget: PlatformVersion? = nil, pluginLibraryMinimumDeploymentTarget: PlatformVersion? = nil)
var manifestLibraryPath: AbsolutePath
var manifestModulesPath: AbsolutePath
var pluginLibraryPath: AbsolutePath
var pluginModulesPath: AbsolutePath