ComponentWithBinaries
, ComponentWithDependencies
, ComponentWithTargetMachines
, CppComponent
, Named
, ProductionComponent
, ProductionCppComponent
, SoftwareComponent
@Incubating public interface CppLibrary extends ProductionCppComponent
An instance of this type is added as a project extension by the C++ library plugin.
Named.Namer
Modifier and Type | Method | Description |
---|---|---|
Configuration |
getApiDependencies() |
Returns the API dependencies of this library.
|
LibraryDependencies |
getDependencies() |
Returns the dependencies of this library.
|
SetProperty<Linkage> |
getLinkage() |
Returns the list of linkage of this library.
|
FileCollection |
getPublicHeaderDirs() |
Returns the public header file directories of this component, as defined in
getPublicHeaders() . |
FileTree |
getPublicHeaderFiles() |
Returns public header files of this component.
|
ConfigurableFileCollection |
getPublicHeaders() |
Defines the public header file directories of this library.
|
void |
publicHeaders(Action<? super ConfigurableFileCollection> action) |
Configures the public header directories for this component.
|
getTargetMachines
getBaseName, getBinaries, getCppSource, getHeaderFiles, getImplementationDependencies, getPrivateHeaderDirs, getPrivateHeaders, getSource, privateHeaders, source
getDevelopmentBinary
ConfigurableFileCollection getPublicHeaders()
When this collection is empty, the directory src/main/public
is used by default.
void publicHeaders(Action<? super ConfigurableFileCollection> action)
FileCollection getPublicHeaderDirs()
getPublicHeaders()
.FileTree getPublicHeaderFiles()
LibraryDependencies getDependencies()
getDependencies
in interface ComponentWithDependencies
Configuration getApiDependencies()
SetProperty<Linkage> getLinkage()