Package org.gradle.language.cpp
Schnittstelle CppBinary
- Alle Superschnittstellen:
BuildableComponent,ComponentWithDependencies,ComponentWithNativeRuntime,ComponentWithObjectFiles,Named,SoftwareComponent
- Alle bekannten Unterschnittstellen:
CppExecutable,CppSharedLibrary,CppStaticLibrary,CppTestExecutable
public interface CppBinary
extends ComponentWithObjectFiles, ComponentWithDependencies, BuildableComponent
A binary built from C++ source and linked from the resulting object files.
- Seit:
- 4.2
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.gradle.api.Named
Named.Namer -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungThe dependency resolution attribute use to indicate whether a binary is debuggable or not.The dependency resolution attribute use to indicate which linkage a binary uses.The dependency resolution attribute use to indicate whether a binary is optimized or not. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the header directories to use to compile this binary.Returns the compile task for this binary.Returns the C++ source files of this binary.Returns the link libraries to use to link this binary.Returns the runtime libraries required by this binary.Returns the target platform for this component.Von Schnittstelle geerbte Methoden org.gradle.language.ComponentWithDependencies
getDependenciesVon Schnittstelle geerbte Methoden org.gradle.language.nativeplatform.ComponentWithNativeRuntime
getBaseName, getTargetMachine, getToolChain, isDebuggable, isOptimizedVon Schnittstelle geerbte Methoden org.gradle.language.nativeplatform.ComponentWithObjectFiles
getObjects
-
Felddetails
-
DEBUGGABLE_ATTRIBUTE
The dependency resolution attribute use to indicate whether a binary is debuggable or not. -
OPTIMIZED_ATTRIBUTE
The dependency resolution attribute use to indicate whether a binary is optimized or not.- Seit:
- 4.5
-
LINKAGE_ATTRIBUTE
The dependency resolution attribute use to indicate which linkage a binary uses.- Seit:
- 4.5
-
-
Methodendetails
-
getCppSource
FileCollection getCppSource()Returns the C++ source files of this binary. -
getCompileIncludePath
FileCollection getCompileIncludePath()Returns the header directories to use to compile this binary. Includes the header directories of this binary plus those of its dependencies. -
getLinkLibraries
FileCollection getLinkLibraries()Returns the link libraries to use to link this binary. Includes the link libraries of the component's dependencies. -
getRuntimeLibraries
FileCollection getRuntimeLibraries()Returns the runtime libraries required by this binary. Includes the runtime libraries of the component's dependencies. -
getTargetPlatform
CppPlatform getTargetPlatform()Returns the target platform for this component.- Seit:
- 4.5
-
getCompileTask
Provider<CppCompile> getCompileTask()Returns the compile task for this binary.- Seit:
- 4.5
-