Interface PreprocessorOptions
public interface PreprocessorOptions
Preprocessor options for native compilation.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceRepresent a defined macro. -
Method Summary
Modifier and TypeMethodDescriptionvoidDefine a name only macro.voidDefine a macro with a definition.voidDefines multiple macros where each entry is a macro with it's optional definition.voidDefines multiple macros where the content can be either a Map or an Iterable toDefinedMacro.org.gradle.api.provider.ListProperty<PreprocessorOptions.DefinedMacro>Returns the defined macros for this options.
-
Method Details
-
define
Define a name only macro.- Parameters:
name- the macro name
-
define
Define a macro with a definition.- Parameters:
name- the macro namedefinition- the macro definition
-
defines
Defines multiple macros where each entry is a macro with it's optional definition.- Parameters:
definedMacros- the macros to define
-
defines
Defines multiple macros where the content can be either a Map or an Iterable toDefinedMacro.- Parameters:
definedMacros- the macros to define
-
getDefinedMacros
org.gradle.api.provider.ListProperty<PreprocessorOptions.DefinedMacro> getDefinedMacros()Returns the defined macros for this options.- Returns:
- the defined macros for this options
-