Interface CCompiler

  • All Superinterfaces:
    org.gradle.api.Named, org.gradle.api.component.SoftwareComponent
    All Known Implementing Classes:
    DefaultCCompiler

    public interface CCompiler
    extends org.gradle.api.component.SoftwareComponent
    C Compiler extension
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.gradle.api.Named

        org.gradle.api.Named.Namer
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean enableOpenMp()
      Flag to enable OpenMP support in all compilation tasks.
      boolean failOnWarning()
      Flag to treat warnings as errors in all compilation tasks.
      CDialect getDialect()
      The Dialect of C that should be used for all compilation tasks.
      java.util.Map<java.lang.String,​java.lang.String> getMacros()
      Macros that should be defined for all compilation tasks.
      boolean suppressAllWarnings()
      Flag to suppress all warnings in all compilation tasks.
      • Methods inherited from interface org.gradle.api.Named

        getName
    • Method Detail

      • getDialect

        CDialect getDialect()
        The Dialect of C that should be used for all compilation tasks.
        Returns:
        The Dialect of C that should be used for all compilation tasks.
      • getMacros

        java.util.Map<java.lang.String,​java.lang.String> getMacros()
        Macros that should be defined for all compilation tasks.
        Returns:
        Macros that should be defined for all compilation tasks.
      • failOnWarning

        boolean failOnWarning()
        Flag to treat warnings as errors in all compilation tasks.
        Returns:
        Flag to treat warnings as errors in all compilation tasks.
      • suppressAllWarnings

        boolean suppressAllWarnings()
        Flag to suppress all warnings in all compilation tasks.
        Returns:
        Flag to suppress all warnings in all compilation tasks.
      • enableOpenMp

        boolean enableOpenMp()
        Flag to enable OpenMP support in all compilation tasks.
        Returns:
        Flag to enable OpenMP support in all compilation tasks.