Package org.gradle.language.cpp
Schnittstelle CppLibrary
- Alle Superschnittstellen:
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.
- Seit:
- 4.2
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.gradle.api.Named
Named.Namer -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns 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.Von Schnittstelle geerbte Methoden org.gradle.language.ComponentWithTargetMachines
getTargetMachinesVon Schnittstelle geerbte Methoden org.gradle.language.cpp.CppComponent
getBaseName, getBinaries, getCppSource, getHeaderFiles, getImplementationDependencies, getPrivateHeaderDirs, getPrivateHeaders, getSource, privateHeaders, sourceVon Schnittstelle geerbte Methoden org.gradle.language.cpp.ProductionCppComponent
getDevelopmentBinary
-
Methodendetails
-
getPublicHeaders
ConfigurableFileCollection getPublicHeaders()Defines the public header file directories of this library.When this collection is empty, the directory
src/main/publicis used by default. -
publicHeaders
Configures the public header directories for this component. -
getPublicHeaderDirs
FileCollection getPublicHeaderDirs()Returns the public header file directories of this component, as defined ingetPublicHeaders(). -
getPublicHeaderFiles
FileTree getPublicHeaderFiles()Returns public header files of this component.- Seit:
- 4.3
-
getDependencies
LibraryDependencies getDependencies()Returns the dependencies of this library.- Angegeben von:
getDependenciesin SchnittstelleComponentWithDependencies- Seit:
- 4.6
-
getApiDependencies
Configuration getApiDependencies()Returns the API dependencies of this library. -
getLinkage
SetProperty<Linkage> getLinkage()Returns the list of linkage of this library.- Seit:
- 4.5
-