# ComponentWithNativeRuntime

interface ComponentWithNativeRuntime : SoftwareComponent(source)

Represents a component that produces outputs that run on a native platform.

#### Since

4.5

#### Inheritors

ComponentWithLinkFile
ComponentWithLinkUsage
ComponentWithExecutable
ComponentWithObjectFiles
ComponentWithRuntimeFile
ComponentWithInstallation
ComponentWithRuntimeUsage

## Functions

getBaseName
Link copied to clipboard
abstract fun getBaseName(): Provider<String>
Returns the base name of this component.
getName
Link copied to clipboard
abstract fun getName(): String
getTargetMachine
Link copied to clipboard
abstract fun getTargetMachine(): TargetMachine
Returns the target machine for this component.
getToolChain
Link copied to clipboard
abstract fun getToolChain(): NativeToolChain
Returns the tool chain for this component.
isDebuggable
Link copied to clipboard
abstract fun isDebuggable(): Boolean
Returns true if this component has debugging enabled.
isOptimized
Link copied to clipboard
abstract fun isOptimized(): Boolean
Returns true if this component is optimized.