|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
org.gradle.language.base.Binary org.gradle.api.Named org.gradle.language.base.BuildableModelElement org.gradle.nativecode.base.NativeBinary org.gradle.api.Buildable
@Incubating @HasInternalProtocol public interface NativeBinary extends Binary
Represents a particular binary artifact that is the result of building a native component.
Method Summary | |
---|---|
void
|
compilerArgs(Object... args)
Adds a number of arguments to be passed to the compiler. |
void
|
define(Object... defines)
Adds a number of preprocessor macros to define when compiling this binary. |
List
|
getCompilerArgs()
The arguments passed when compiling this binary. |
Collection
|
getLibs()
The libraries that should be linked into this binary. |
List
|
getLinkerArgs()
The arguments passed when linking this binary. |
List
|
getMacros()
The set of preprocessor macros to define when compiling this binary. |
File
|
getOutputFile()
The file where this binary will be created. |
DomainObjectSet
|
getSource()
The source sets used to compile this binary. |
ToolChain
|
getToolChain()
Returns the ToolChain that will be used to build this binary. |
void
|
lib(Object library)
Adds a library as input to this binary. |
void
|
linkerArgs(Object... args)
Adds a number of arguments to be passed to the linker. |
void
|
setOutputFile(File outputFile)
Sets the file where this binary will be created. |
void
|
source(LanguageSourceSet sourceSet)
Adds a source set to use to compile this binary. |
Methods inherited from interface Named | |
---|---|
getName |
Methods inherited from interface BuildableModelElement | |
---|---|
dependsOn, setLifecycleTask |
Methods inherited from interface Buildable | |
---|---|
getBuildDependencies |
Method Detail |
---|
public void compilerArgs(Object... args)
public void define(Object... defines)
public List getCompilerArgs()
public Collection getLibs()
public List getLinkerArgs()
public List getMacros()
public File getOutputFile()
public DomainObjectSet getSource()
public ToolChain getToolChain()
public void lib(Object library)
public void linkerArgs(Object... args)
public void setOutputFile(File outputFile)
public void source(LanguageSourceSet sourceSet)
Gradle API 1.7