toggle menu
gradle
8.12
API
switch theme
search in API
gradle
/
org.gradle.nativeplatform
/
PreprocessingTool
Preprocessing
Tool
API
@
Incubating
interface
PreprocessingTool
:
Tool
(
source
)
A tool that permits configuration of the C preprocessor.
Members
Functions
args
Link copied to clipboard
API
abstract
fun
args
(
args
:
Array
<
String
>
)
define
Link copied to clipboard
API
abstract
fun
define
(
name
:
String
)
Defines a named preprocessor macros to use when compiling this binary.
abstract
fun
define
(
name
:
String
,
definition
:
String
)
Defines a named preprocessor macro with a value, which will be used when compiling this binary.
get
Args
Link copied to clipboard
API
abstract
fun
getArgs
(
)
:
List
<
String
>
get
Macros
Link copied to clipboard
API
abstract
fun
getMacros
(
)
:
Map
<
String
,
String
>
The set of preprocessor macros to define when compiling this binary.