@Incubating interface PreprocessingTool : Tool
A tool that permits configuration of the C preprocessor.
abstract fun define(name: String): Unit
Defines a named preprocessor macros to use when compiling this binary. The macro will be supplied to the compiler as '-D name'. abstract fun define(name: String, definition: String): Unit
Defines a named preprocessor macro with a value, which will be used when compiling this binary. The macro will be supplied to the compiler as '-D name=definition'. |
|
abstract fun getMacros(): MutableMap<String, String>
The set of preprocessor macros to define when compiling this binary. |
abstract fun args(vararg args: String): Unit
Adds a number of arguments to be passed to the tool. |
|
abstract fun getArgs(): MutableList<String>
The arguments passed when executing this tool. |