toggle menu
gradle
8.10.2
API
switch theme
search in API
gradle
/
org.gradle.nativeplatform.toolchain
/
GccCompatibleToolChain
Gcc
Compatible
Tool
Chain
API
@
Incubating
interface
GccCompatibleToolChain
:
NativeToolChain
(
source
)
A ToolChain that can handle additional platforms simply by configuring the NativeBinary.
Inheritors
Gcc
Clang
Members
Functions
each
Platform
Link copied to clipboard
API
abstract
fun
eachPlatform
(
action
:
Action
<
in
GccPlatformToolChain
>
)
Adds an action that can fine-tune the tool configuration for each platform supported by this tool chain.
get
Display
Name
Link copied to clipboard
API
abstract
fun
getDisplayName
(
)
:
String
get
Name
Link copied to clipboard
API
abstract
fun
getName
(
)
:
String
get
Path
Link copied to clipboard
API
abstract
fun
getPath
(
)
:
List
<
File
>
The paths setting required for executing the tool chain.
path
Link copied to clipboard
API
abstract
fun
path
(
pathEntries
:
Array
<
Any
>
)
Append an entry or entries to the tool chain path.
set
Targets
Link copied to clipboard
API
abstract
fun
setTargets
(
platformNames
:
Array
<
String
>
)
Override the current platform configuration with target platforms specified by name
target
Link copied to clipboard
API
abstract
fun
target
(
platformName
:
String
)
Add support for target platform specified by name.
abstract
fun
target
(
platformName
:
String
,
action
:
Action
<
in
GccPlatformToolChain
>
)
Add configuration for a target platform specified by name with additional configuration action.