# CppApplication

interface CppApplication : ProductionCppComponent

Configuration for a C++ application, defining the source files that make up the application plus other settings.

An instance of this type is added as a project extension by the C++ Application Plugin.

#### Since

4.2

## Functions

getBaseName
Link copied to clipboard
abstract fun getBaseName(): Property<String>
getBinaries
Link copied to clipboard
abstract fun getBinaries(): BinaryCollection<out SoftwareComponent>
abstract fun getBinaries(): BinaryCollection<out CppBinary>
getCppSource
Link copied to clipboard
abstract fun getCppSource(): FileCollection
getDependencies
Link copied to clipboard
abstract fun getDependencies(): ComponentDependencies
getDevelopmentBinary
Link copied to clipboard
abstract fun getDevelopmentBinary(): Provider<out SoftwareComponent>
abstract fun getDevelopmentBinary(): Provider<out CppExecutable>
getHeaderFiles
Link copied to clipboard
abstract fun getHeaderFiles(): FileTree
getImplementationDependencies
Link copied to clipboard
abstract fun getImplementationDependencies(): Configuration
getName
Link copied to clipboard
abstract fun getName(): String
getPrivateHeaderDirs
Link copied to clipboard
abstract fun getPrivateHeaderDirs(): FileCollection
getPrivateHeaders
Link copied to clipboard
abstract fun getPrivateHeaders(): ConfigurableFileCollection
getSource
Link copied to clipboard
abstract fun getSource(): ConfigurableFileCollection
getTargetMachines
Link copied to clipboard
abstract fun getTargetMachines(): SetProperty<TargetMachine>
privateHeaders
Link copied to clipboard
abstract fun privateHeaders(action: Action<in ConfigurableFileCollection>)
source
Link copied to clipboard
abstract fun source(action: Action<in ConfigurableFileCollection>)