api / org.gradle.nativeplatform.platform / NativePlatform / operatingSystem

operatingSystem

abstract fun operatingSystem(name: String): Unit

Sets the operating system being targeted.

The operating system is provided as a string name, which is translated into one of the supported operating system types.

See Also
OperatingSystem