Table of Contents
| API Documentation: | LinkExecutable |
|---|
Note: This class is incubating and may change in a future version of Gradle.
Links a binary executable from object files and libraries.
| Property | Description |
debuggable | Incubating Create a debuggable binary? |
libs | Incubating The library files to be passed to the linker. |
linkedFile | Incubating The file where the linked binary will be located. |
linkerArgs | Incubating Additional arguments passed to the linker. |
source | Incubating The source object files to be passed to the linker. |
targetPlatform | Incubating The platform being linked for. |
toolChain | Incubating The tool chain used for linking. |
| Method | Description |
lib(libs) | Incubating Adds a set of library files to be linked. The provided libs object is evaluated as per |
source(source) | Incubating Adds a set of object files to be linked. The provided source object is evaluated as per |
Note: This property is incubating and may change in a future version of Gradle.
Create a debuggable binary?
Note: This property is incubating and may change in a future version of Gradle.
The library files to be passed to the linker.
RegularFileProperty linkedFile (read-only)
Note: This property is incubating and may change in a future version of Gradle.
The file where the linked binary will be located.
ListProperty<String> linkerArgs (read-only)
ListProperty<String>Note: This property is incubating and may change in a future version of Gradle.
Additional arguments passed to the linker.
ConfigurableFileCollection source
Note: This property is incubating and may change in a future version of Gradle.
The source object files to be passed to the linker.
Property<NativePlatform> targetPlatform (read-only)
Property<NativePlatform>Note: This property is incubating and may change in a future version of Gradle.
The platform being linked for.
Property<NativeToolChain> toolChain (read-only)
Property<NativeToolChain>Note: This property is incubating and may change in a future version of Gradle.
The tool chain used for linking.
void lib(Object libs)
Note: This method is incubating and may change in a future version of Gradle.
Adds a set of library files to be linked. The provided libs object is evaluated as per Project.files(java.lang.Object[]).
void source(Object source)
Note: This method is incubating and may change in a future version of Gradle.
Adds a set of object files to be linked. The provided source object is evaluated as per Project.files(java.lang.Object[]).