Static Methodswift-package-manager 6.0.1PackageDescription
when(configuration:)
Creates a build setting condition.
BuildSettings.swift:99- SwiftPM
- 5.7+
static func when(configuration: BuildConfiguration) -> BuildSettingCondition
Parameters
- configuration
The applicable build configuration for this build setting condition.
See also
static func when(platforms: [Platform]
) -> BuildSettingCondition Creates a build setting condition.
static func when(platforms: [Platform]?, configuration: BuildConfiguration?
) -> BuildSettingCondition static func when(platforms: [Platform], configuration: BuildConfiguration
) -> BuildSettingCondition Creates a build setting condition.