CppComponent
, Named
, SoftwareComponent
@Incubating public interface CppLibrary extends CppComponent
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.
|
CppSharedLibrary |
getDebugSharedLibrary() |
Returns the debug shared library for this library.
|
CppSharedLibrary |
getDevelopmentBinary() |
Returns the binary of the component to use as the default for development.
|
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.
|
CppSharedLibrary |
getReleaseSharedLibrary() |
Returns the release shared library for this library.
|
void |
publicHeaders(Action<? super ConfigurableFileCollection> action) |
Configures the public header directories for this component.
|
getBaseName, getCppSource, getHeaderFiles, getImplementationDependencies, 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()
Configuration getApiDependencies()
CppSharedLibrary getDevelopmentBinary()
getDevelopmentBinary
in interface CppComponent
CppSharedLibrary getDebugSharedLibrary()
CppSharedLibrary getReleaseSharedLibrary()