NativePlatform

A target platform for building native binaries. Each target platform is given a name, and may optionally be given a specific Architecture and/or OperatingSystem to target.

    model {
        platforms {
            windows_x86 {
                architecture "i386"
                operatingSystem "windows"
            }
        }
    }

Functions

Link copied to clipboard
abstract fun architecture(name: String)
Sets the cpu architecture being targeted.
Link copied to clipboard
The cpu architecture being targeted.
Link copied to clipboard
abstract fun getDisplayName(): String
Link copied to clipboard
abstract fun getName(): String
Link copied to clipboard
The operating system being targeted.
Link copied to clipboard
abstract fun operatingSystem(name: String)
Sets the operating system being targeted.