Interface PreprocessorOptions


public interface PreprocessorOptions
Preprocessor options for native compilation.
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Represent a defined macro.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    define(String name)
    Define a name only macro.
    void
    define(String name, Object definition)
    Define a macro with a definition.
    void
    defines(Map<? extends String,? extends Object> definedMacros)
    Defines multiple macros where each entry is a macro with it's optional definition.
    void
    defines(org.gradle.api.provider.Provider<? extends Object> definedMacros)
    Defines multiple macros where the content can be either a Map or an Iterable to DefinedMacro.
    org.gradle.api.provider.ListProperty<PreprocessorOptions.DefinedMacro>
    Returns the defined macros for this options.
  • Method Details

    • define

      void define(String name)
      Define a name only macro.
      Parameters:
      name - the macro name
    • define

      void define(String name, Object definition)
      Define a macro with a definition.
      Parameters:
      name - the macro name
      definition - the macro definition
    • defines

      void defines(Map<? extends String,? extends Object> definedMacros)
      Defines multiple macros where each entry is a macro with it's optional definition.
      Parameters:
      definedMacros - the macros to define
    • defines

      void defines(org.gradle.api.provider.Provider<? extends Object> definedMacros)
      Defines multiple macros where the content can be either a Map or an Iterable to DefinedMacro.
      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