The supported C language standard to use for compiling C sources in the package.
SDK
- Xcode 10.2+
Framework
- Swift Package Manager
The supported C language standard to use for compiling C sources in the package.
SDK
Framework
case c89The identifier for the C89 language standard.
case c90The identifier for the C90 language standard.
case c99The identifier for the C99 language standard.
case c11The identifier for the C11 language standard.
case gnu11The identifier for the GNU11 language standard.
case gnu89The identifier for the GNU89 language standard.
case gnu90The identifier for the GNU90 language standard.
case gnu99The identifier for the GNU99 language standard.
case iso9899_1990 The identifier for the ISO9899-1990 language standard.
case iso9899_199409 The identifier for the ISO9899-199409 language standard.
case iso9899_1999 The identifier for the ISO9899-1999 language standard.
case iso9899_2011 The identifier for the ISO9899-2011 language standard.
func encode(to: Encoder)Encodes this value into the given encoder, when the type’s Raw is String.
func hash(into: inout Hasher)Hashes the C language standard by feeding the item into the given hasher.
var hashValue : IntThe hash value for the C language standard.
static func != (CLanguageStandard, CLanguageStandard) -> Bool Returns a Boolean value indicating whether two values are not equal.
enum SwiftVersion The version of the Swift language to use for compiling Swift sources in the package.
enum CXXLanguageStandard The supported C++ language standards to use for compiling C++ sources in the package.
var swiftLanguageVersions : [SwiftVersion]? The list of Swift versions that this package is compatible with.
var cLanguageStandard : CLanguageStandard? The C language standard to use for all C targets in this package.
var cxxLanguageStandard : CXXLanguageStandard? The C++ language standard to use for all C++ targets in this package.