gradle
8.3

# Package-level declarations

Model classes for building from C++ language sources.

## Types

CppApplication
Link copied to clipboard
interface CppApplication : ProductionCppComponent
Configuration for a C++ application, defining the source files that make up the application plus other settings.
CppBinary
Link copied to clipboard
interface CppBinary : ComponentWithObjectFiles, ComponentWithDependencies, BuildableComponent
A binary built from C++ source and linked from the resulting object files.
CppComponent
Link copied to clipboard
interface CppComponent : ComponentWithBinaries, ComponentWithDependencies, ComponentWithTargetMachines
Configuration for a C++ component, such as a library or executable, defining the source files and private header directories that make up the component.
CppExecutable
Link copied to clipboard
interface CppExecutable : CppBinary, ComponentWithExecutable, ComponentWithInstallation, ComponentWithOutputs, ComponentWithRuntimeUsage, PublishableComponent
An executable built from C++ source.
CppLibrary
Link copied to clipboard
interface CppLibrary : ProductionCppComponent
Configuration for a C++ library, defining the source files and header directories that make up the library plus other settings.
CppPlatform
Link copied to clipboard
interface CppPlatform
A target platform for building C++ binaries.
CppSharedLibrary
Link copied to clipboard
interface CppSharedLibrary : CppBinary, ComponentWithSharedLibrary, ComponentWithLinkUsage, ComponentWithRuntimeUsage, ComponentWithOutputs, PublishableComponent
A shared library built from C++ source.
CppSourceSet
Link copied to clipboard
@Incubating
interface CppSourceSet : HeaderExportingSourceSet, LanguageSourceSet, DependentSourceSet
A set of C++ source files.
CppStaticLibrary
Link copied to clipboard
interface CppStaticLibrary : CppBinary, ComponentWithStaticLibrary, ComponentWithLinkUsage, ComponentWithRuntimeUsage, ComponentWithOutputs, PublishableComponent
A static library built from C++ source.
ProductionCppComponent
Link copied to clipboard
interface ProductionCppComponent : CppComponent, ProductionComponent
Represents a C++ component that is the main product of a project.