@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 and 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.
|
getDevelopmentBinary
getBaseName, getBinaries, getCppSource, getHeaderFiles, getImplementationDependencies, getOperatingSystems, getPrivateHeaderDirs, getPrivateHeaders, getSource, privateHeaders, source
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()