api / org.gradle.nativeplatform / NativeLibraryBinary

NativeLibraryBinary

@Incubating interface NativeLibraryBinary : NativeBinary

A physical representation of a NativeLibrary component.

Functions

getHeaderDirs

abstract fun getHeaderDirs(): FileCollection

getLinkFiles

abstract fun getLinkFiles(): FileCollection

getRuntimeFiles

abstract fun getRuntimeFiles(): FileCollection

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.

Inheritors

SharedLibraryBinary

interface SharedLibraryBinary : NativeLibraryBinary

A NativeLibrary that has been compiled and linked as a shared library.

StaticLibraryBinary

interface StaticLibraryBinary : NativeLibraryBinary

A NativeLibrary that has been compiled and archived into a static library.