Package dev.guillermo.gradle.language.c
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.SoftwareComponentC Compiler extension
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanenableOpenMp()Flag to enable OpenMP support in all compilation tasks.booleanfailOnWarning()Flag to treat warnings as errors in all compilation tasks.CDialectgetDialect()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.booleansuppressAllWarnings()Flag to suppress all warnings in all compilation tasks.
-
-
-
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.
-
-