Schnittstelle PreprocessingTool

Alle Superschnittstellen:
Tool

@Incubating public interface PreprocessingTool extends Tool
A tool that permits configuration of the C preprocessor.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    define(String name)
    Defines a named preprocessor macros to use when compiling this binary.
    void
    define(String name, String definition)
    Defines a named preprocessor macro with a value, which will be used when compiling this binary.
    The set of preprocessor macros to define when compiling this binary.

    Von Schnittstelle geerbte Methoden org.gradle.nativeplatform.Tool

    args, getArgs
  • Methodendetails

    • getMacros

      Map<String,String> getMacros()
      The set of preprocessor macros to define when compiling this binary.
    • define

      void define(String name)
      Defines a named preprocessor macros to use when compiling this binary. The macro will be supplied to the compiler as '-D name'.
    • define

      void define(String name, String definition)
      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'.