gradle
8.2

# CppExecutable

interface CppExecutable : CppBinary, ComponentWithExecutable, ComponentWithInstallation, ComponentWithOutputs, ComponentWithRuntimeUsage, PublishableComponent

An executable built from C++ source.

## Functions

getBaseName
Link copied to clipboard
abstract fun getBaseName(): Provider<String>
getCompileIncludePath
Link copied to clipboard
abstract fun getCompileIncludePath(): FileCollection
getCompileTask
Link copied to clipboard
abstract fun getCompileTask(): Provider<CppCompile>
getCoordinates
Link copied to clipboard
abstract fun getCoordinates(): ModuleVersionIdentifier
getCppSource
Link copied to clipboard
abstract fun getCppSource(): FileCollection
getDebuggerExecutableFile
Link copied to clipboard
abstract fun getDebuggerExecutableFile(): Provider<RegularFile>
Returns the executable file to use with a debugger for this executable.
getDependencies
Link copied to clipboard
abstract fun getDependencies(): ComponentDependencies
getExecutableFile
Link copied to clipboard
abstract fun getExecutableFile(): Provider<RegularFile>
getExecutableFileProducer
Link copied to clipboard
abstract fun getExecutableFileProducer(): Provider<out Task>
getInstallDirectory
Link copied to clipboard
abstract fun getInstallDirectory(): Provider<Directory>
getInstallTask
Link copied to clipboard
abstract fun getInstallTask(): Provider<out InstallExecutable>
getLinkLibraries
Link copied to clipboard
abstract fun getLinkLibraries(): FileCollection
getLinkTask
Link copied to clipboard
abstract fun getLinkTask(): Provider<out LinkExecutable>
getName
Link copied to clipboard
abstract fun getName(): String
getObjects
Link copied to clipboard
abstract fun getObjects(): FileCollection
getOutputs
Link copied to clipboard
abstract fun getOutputs(): FileCollection
getRuntimeElements
Link copied to clipboard
abstract fun getRuntimeElements(): Provider<Configuration>
getRuntimeLibraries
Link copied to clipboard
abstract fun getRuntimeLibraries(): FileCollection
getTargetMachine
Link copied to clipboard
abstract fun getTargetMachine(): TargetMachine
getTargetPlatform
Link copied to clipboard
abstract fun getTargetPlatform(): CppPlatform
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

## Properties

DEBUGGABLE_ATTRIBUTE
Link copied to clipboard
val DEBUGGABLE_ATTRIBUTE: Attribute<Boolean>
LINKAGE_ATTRIBUTE
Link copied to clipboard
val LINKAGE_ATTRIBUTE: Attribute<Linkage>
OPTIMIZED_ATTRIBUTE
Link copied to clipboard
val OPTIMIZED_ATTRIBUTE: Attribute<Boolean>