Interface GccCompatibleToolChain
- All Superinterfaces:
Named
,NativeToolChain
,ToolChain
A ToolChain that can handle additional platforms simply by configuring the NativeBinary.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gradle.api.Named
Named.Namer
-
Method Summary
Modifier and TypeMethodDescriptionvoid
eachPlatform
(Action<? super GccPlatformToolChain> action) Adds an action that can fine-tune the tool configuration for each platform supported by this tool chain.getPath()
The paths setting required for executing the tool chain.void
Append an entry or entries to the tool chain path.void
setTargets
(String... platformNames) Override the current platform configuration with target platforms specified by namevoid
Add support for target platform specified by name.void
target
(String platformName, Action<? super GccPlatformToolChain> action) Add configuration for a target platform specified by name with additional configuration action.Methods inherited from interface org.gradle.platform.base.ToolChain
getDisplayName
-
Method Details
-
getPath
The paths setting required for executing the tool chain. These are used to locate tools for this tool chain, and are prepended to the system PATH when executing these tools. -
path
Append an entry or entries to the tool chain path.- Parameters:
pathEntries
- The path values to append. These are evaluated as perProject.files(Object...)
-
target
Add support for target platform specified by name. -
target
Add configuration for a target platform specified by name with additional configuration action. -
setTargets
Override the current platform configuration with target platforms specified by name- Since:
- 4.4
-
eachPlatform
Adds an action that can fine-tune the tool configuration for each platform supported by this tool chain.
-