Package org.gradle.language.cpp
Interface CppLibrary
- All Superinterfaces:
- ComponentWithBinaries,- ComponentWithDependencies,- ComponentWithTargetMachines,- CppComponent,- Named,- ProductionComponent,- ProductionCppComponent,- SoftwareComponent
Configuration for a C++ library, defining the source files and header directories that make up the library plus other settings.
 
An instance of this type is added as a project extension by the C++ library plugin.
- Since:
- 4.2
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.gradle.api.NamedNamed.Namer
- 
Method SummaryModifier and TypeMethodDescriptionReturns the API dependencies of this library.Returns the dependencies of this library.Returns the list of linkage of this library.Returns the public header file directories of this component, as defined ingetPublicHeaders().Returns public header files of this component.Defines the public header file directories of this library.voidpublicHeaders(Action<? super ConfigurableFileCollection> action) Configures the public header directories for this component.Methods inherited from interface org.gradle.language.ComponentWithTargetMachinesgetTargetMachinesMethods inherited from interface org.gradle.language.cpp.CppComponentgetBaseName, getBinaries, getCppSource, getHeaderFiles, getImplementationDependencies, getPrivateHeaderDirs, getPrivateHeaders, getSource, privateHeaders, sourceMethods inherited from interface org.gradle.language.cpp.ProductionCppComponentgetDevelopmentBinary
- 
Method Details- 
getPublicHeadersConfigurableFileCollection getPublicHeaders()Defines the public header file directories of this library.When this collection is empty, the directory src/main/publicis used by default.
- 
publicHeadersConfigures the public header directories for this component.
- 
getPublicHeaderDirsFileCollection getPublicHeaderDirs()Returns the public header file directories of this component, as defined ingetPublicHeaders().
- 
getPublicHeaderFilesFileTree getPublicHeaderFiles()Returns public header files of this component.- Since:
- 4.3
 
- 
getDependenciesLibraryDependencies getDependencies()Returns the dependencies of this library.- Specified by:
- getDependenciesin interface- ComponentWithDependencies
- Since:
- 4.6
 
- 
getApiDependenciesConfiguration getApiDependencies()Returns the API dependencies of this library.
- 
getLinkageSetProperty<Linkage> getLinkage()Returns the list of linkage of this library.- Since:
- 4.5
 
 
-