api / org.gradle.nativeplatform.tasks / LinkMachOBundle

LinkMachOBundle

@Incubating open class LinkMachOBundle : AbstractLinkTask

Links a binary bundle from object files and imported libraries.

Since
4.3

Constructors

<init>

LinkMachOBundle()

Links a binary bundle from object files and imported libraries.

Inherited Functions

getDebuggable

open fun getDebuggable(): Property<Boolean>

Create a debuggable binary?

getDestinationDirectory

open fun getDestinationDirectory(): DirectoryProperty

Include the destination directory as an output, to pick up auxiliary files produced alongside the main output file

getLibs

open fun getLibs(): ConfigurableFileCollection

The library files to be passed to the linker.

getLinkedFile

open fun getLinkedFile(): RegularFileProperty

The file where the linked binary will be located.

getLinkerArgs

open fun getLinkerArgs(): ListProperty<String>

Additional arguments passed to the linker.

getOperationLoggerFactory

open fun getOperationLoggerFactory(): BuildOperationLoggerFactory

getSource

open fun getSource(): ConfigurableFileCollection

The source object files to be passed to the linker.

getTargetPlatform

open fun getTargetPlatform(): Property<NativePlatform>

The platform being linked for.

getToolChain

open fun getToolChain(): Property<NativeToolChain>

The tool chain used for linking.

isDebuggable

open fun isDebuggable(): Boolean

Create a debuggable binary?

lib

open fun lib(libs: Any): Unit

Adds a set of library files to be linked. The provided libs object is evaluated as per org.gradle.api.Project#files(Object...).

link

open fun link(): Unit

setLibs

open fun setLibs(libs: FileCollection): Unit

setSource

open fun setSource(source: FileCollection): Unit

source

open fun source(source: Any): Unit

Adds a set of object files to be linked. The provided source object is evaluated as per org.gradle.api.Project#files(Object...).