BuildableComponent
, ComponentWithDependencies
, ComponentWithNativeRuntime
, ComponentWithObjectFiles
, Named
, SoftwareComponent
CppExecutable
, CppSharedLibrary
, CppStaticLibrary
, CppTestExecutable
@Incubating public interface CppBinary extends ComponentWithObjectFiles, ComponentWithDependencies, BuildableComponent
Named.Namer
Modifier and Type | Field | 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 | 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.
|
getDependencies
getBaseName, getTargetMachine, getToolChain, isDebuggable, isOptimized
getObjects
static final Attribute<Boolean> DEBUGGABLE_ATTRIBUTE
static final Attribute<Boolean> OPTIMIZED_ATTRIBUTE
FileCollection getCppSource()
FileCollection getCompileIncludePath()
FileCollection getLinkLibraries()
FileCollection getRuntimeLibraries()
CppPlatform getTargetPlatform()
Provider<CppCompile> getCompileTask()