@Incubating interface ComponentWithExecutable : ComponentWithNativeRuntime
Represents a native component that produces an executable.
Since
4.5
abstract fun getExecutableFile(): Provider<RegularFile>
Returns the executable file to produce. |
|
abstract fun getLinkLibraries(): FileCollection
Returns the link libraries to use to link the executable. Includes the link libraries of the component's dependencies. |
|
abstract fun getLinkTask(): Provider<out LinkExecutable>
Returns the link task for the executable. |
abstract fun getBaseName(): Provider<String>
Returns the base name of this component. This is used to calculate output file names. |
|
abstract fun getTargetPlatform(): NativePlatform
Returns the target platform for this component. |
|
abstract fun getToolChain(): NativeToolChain
Returns the tool chain for this component. |
|
abstract fun isDebuggable(): Boolean
Returns true if this component has debugging enabled. |
|
abstract fun isOptimized(): Boolean
Returns true if this component is optimized. |
interface CppExecutable : CppBinary, ComponentWithExecutable, ComponentWithInstallation, ComponentWithOutputs, ComponentWithRuntimeUsage, PublishableComponent
An executable built from C++ source. |
|
interface CppTestExecutable : CppBinary, ComponentWithExecutable, ComponentWithInstallation, TestComponent
A test executable with tests implemented in C++. |
|
interface SwiftExecutable : SwiftBinary, ComponentWithExecutable, ComponentWithInstallation, ComponentWithOutputs
An executable built from Swift source. |
|
interface SwiftXCTestExecutable : SwiftXCTestBinary, ComponentWithExecutable, ComponentWithInstallation
An XCTest executable for tests implemented in Swift. |