api / org.gradle.nativeplatform / NativeExecutableBinary

NativeExecutableBinary

@Incubating interface NativeExecutableBinary : NativeBinary

A binary artifact for a NativeExecutable, targeted at a particular platform with specific configuration.

Functions

getExecutableFile

abstract fun getExecutableFile(): File

The executable file.

Inherited Functions

getBuildType

abstract fun getBuildType(): BuildType

Returns the org.gradle.nativeplatform.BuildType used to construct this binary.

getFlavor

abstract fun getFlavor(): Flavor

The org.gradle.nativeplatform.Flavor that this binary was built with.

getTargetPlatform

abstract fun getTargetPlatform(): NativePlatform

Returns the org.gradle.nativeplatform.platform.NativePlatform that this binary is targeted to run on.