# ComponentWithExecutable

interface ComponentWithExecutable : ComponentWithNativeRuntime(source)

Represents a native component that produces an executable.

#### Since

4.5

#### Inheritors

SwiftXCTestExecutable
CppTestExecutable
SwiftExecutable
CppExecutable

## Functions

getBaseName
Link copied to clipboard
abstract fun getBaseName(): Provider<String>
getExecutableFile
Link copied to clipboard
abstract fun getExecutableFile(): Provider<RegularFile>
Returns the executable file to produce.
getExecutableFileProducer
Link copied to clipboard
abstract fun getExecutableFileProducer(): Provider<out Task>
Returns the task that should be run to produce the executable file of this component.
getLinkLibraries
Link copied to clipboard
abstract fun getLinkLibraries(): FileCollection
Returns the link libraries to use to link the executable.
getLinkTask
Link copied to clipboard
abstract fun getLinkTask(): Provider<out LinkExecutable>
Returns the link task for the executable.
getName
Link copied to clipboard
abstract fun getName(): String
getTargetMachine
Link copied to clipboard
abstract fun getTargetMachine(): TargetMachine
getToolChain
Link copied to clipboard
abstract fun getToolChain(): NativeToolChain
isDebuggable
Link copied to clipboard
abstract fun isDebuggable(): Boolean
isOptimized
Link copied to clipboard
abstract fun isOptimized(): Boolean