api / org.gradle.nativeplatform / NativeBinarySpec / getTargetPlatform

getTargetPlatform

abstract fun getTargetPlatform(): NativePlatform

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