@Incubating public interface CppBinary extends ComponentWithObjectFiles, ComponentWithDependencies, BuildableComponent
Named.Namer
Modifier and Type | Field and Description |
---|---|
static Attribute<Boolean> |
DEBUGGABLE_ATTRIBUTE
The dependency resolution attribute use to indicate whether a binary is debuggable or not.
|
static Attribute<Linkage> |
LINKAGE_ATTRIBUTE
The dependency resolution attribute use to indicate which linkage a binary uses.
|
static Attribute<Boolean> |
OPTIMIZED_ATTRIBUTE
The dependency resolution attribute use to indicate whether a binary is optimized or not.
|
Modifier and Type | Method and Description |
---|---|
FileCollection |
getCompileIncludePath()
Returns the header directories to use to compile this binary.
|
Provider<CppCompile> |
getCompileTask()
Returns the compile task for this binary.
|
FileCollection |
getCppSource()
Returns the C++ source files of this binary.
|
FileCollection |
getLinkLibraries()
Returns the link libraries to use to link this binary.
|
FileCollection |
getRuntimeLibraries()
Returns the runtime libraries required by this binary.
|
CppPlatform |
getTargetPlatform()
Returns the target platform for this component.
|
getObjects
getBaseName, getToolChain, isDebuggable, isOptimized
getDependencies
static final Attribute<Boolean> DEBUGGABLE_ATTRIBUTE
static final Attribute<Boolean> OPTIMIZED_ATTRIBUTE
FileCollection getCppSource()
FileCollection getCompileIncludePath()
FileCollection getLinkLibraries()
FileCollection getRuntimeLibraries()
CppPlatform getTargetPlatform()
getTargetPlatform
in interface ComponentWithNativeRuntime
Provider<CppCompile> getCompileTask()