Binary, BinarySpec, Buildable, BuildableComponentSpec, CheckableComponentSpec, ComponentSpec, ModelElement, NamedCUnitTestSuiteBinarySpec, GoogleTestTestSuiteBinarySpec, NativeExecutableBinarySpec, NativeLibraryBinarySpec, NativeTestSuiteBinarySpec, SharedLibraryBinarySpec, StaticLibraryBinarySpec@Incubating public interface NativeBinarySpec extends BinarySpec
Named.Namer| Modifier and Type | Method | Description |
|---|---|---|
Tool |
getAssembler() |
The configuration of the assembler used when compiling assembly sources this binary.
|
BuildType |
getBuildType() |
Returns the
BuildType used to construct this binary. |
PreprocessingTool |
getcCompiler() |
The configuration of the C compiler used when compiling C sources for this binary.
|
NativeComponentSpec |
getComponent() |
The component that this binary was built from.
|
PreprocessingTool |
getCppCompiler() |
The configuration of the C++ compiler used when compiling C++ sources for this binary.
|
Flavor |
getFlavor() |
The
Flavor that this binary was built with. |
Collection<NativeDependencySet> |
getLibs() |
The libraries that should be linked into this binary.
|
Tool |
getLinker() |
The configuration of the linker used when linking this binary.
|
PreprocessingTool |
getObjcCompiler() |
The configuration of the Objective-C compiler used when compiling Objective-C sources for this binary.
|
PreprocessingTool |
getObjcppCompiler() |
The configuration of the Objective-C++ compiler used when compiling Objective-C++ sources for this binary.
|
PreprocessingTool |
getRcCompiler() |
The configuration of the Resource compiler used when compiling resources for this binary.
|
Tool |
getStaticLibArchiver() |
The configuration of the static library archiver used when creating this binary.
|
NativePlatform |
getTargetPlatform() |
Returns the
NativePlatform that this binary is targeted to run on. |
NativeToolChain |
getToolChain() |
Returns the
NativeToolChain that will be used to build this binary. |
void |
lib(Object library) |
Adds a library as input to this binary.
|
getDisplayNamegetInputs, getSources, getTasks, isBuildablegetBuildDependenciesbuiltBy, getBuildTask, hasBuildDependencies, setBuildTaskcheckedBy, getCheckTask, setCheckTaskgetProjectPathgetDisplayName, getNameNativeComponentSpec getComponent()
NativePlatform getTargetPlatform()
NativePlatform that this binary is targeted to run on.Collection<NativeDependencySet> getLibs()
void lib(Object library)
This method accepts the following types:
NativeLibrarySpecNativeDependencySetMap containing the library selector.NativeToolChain getToolChain()
NativeToolChain that will be used to build this binary.Tool getLinker()
SharedLibraryBinarySpec and NativeExecutableBinarySpec.Tool getStaticLibArchiver()
StaticLibraryBinarySpec.Tool getAssembler()
SharedLibraryBinarySpec, StaticLibraryBinarySpec and
NativeExecutableBinarySpec when the 'assembler' plugin is applied.PreprocessingTool getcCompiler()
SharedLibraryBinarySpec, StaticLibraryBinarySpec and
NativeExecutableBinarySpec when the 'c' plugin is applied.PreprocessingTool getCppCompiler()
SharedLibraryBinarySpec, StaticLibraryBinarySpec and
NativeExecutableBinarySpec when the 'cpp' plugin is applied.PreprocessingTool getObjcCompiler()
SharedLibraryBinarySpec, StaticLibraryBinarySpec and
NativeExecutableBinarySpec when the 'objective-c' plugin is applied.PreprocessingTool getObjcppCompiler()
SharedLibraryBinarySpec, StaticLibraryBinarySpec and
NativeExecutableBinarySpec when the 'objective-cpp' plugin is applied.PreprocessingTool getRcCompiler()
SharedLibraryBinarySpec, StaticLibraryBinarySpec and
NativeExecutableBinarySpec when the 'windows-resources' plugin is applied.