Table of Contents
API Documentation: | AbstractNativeSourceCompileTask |
---|
Known Subtypes: |
|
---|
Note: This class is incubating and may change in a future version of Gradle.
Compiles native source files into object files.
Property | Description |
compilerArgs | Incubating Additional arguments to provide to the compiler. |
debuggable | Incubating Should the compiler generate debuggable code? |
includes | Incubating The header directories to be used for compilation. |
macros | Incubating Macros that should be defined for the compiler. |
objectFileDir | Incubating The directory where object files will be generated. |
optimized | Incubating Should the compiler generate optimized code? |
positionIndependentCode | Incubating Should the compiler generate position independent code? |
source | Incubating The source files to be compiled. |
systemIncludes | Incubating The system include directories to be used for compilation. |
targetPlatform | Incubating The platform being compiled for. |
toolChain | Incubating The tool chain used for compilation. |
Method | Description |
includes(includeRoots) | Incubating Add directories where the compiler should search for header files. |
source(sourceFiles) | Incubating Adds a set of source files to be compiled. The provided sourceFiles object is evaluated as per |
Note: This property is incubating and may change in a future version of Gradle.
Additional arguments to provide to the compiler.
Note: This property is incubating and may change in a future version of Gradle.
Should the compiler generate debuggable code?
Note: This property is incubating and may change in a future version of Gradle.
The header directories to be used for compilation.
Note: This property is incubating and may change in a future version of Gradle.
Macros that should be defined for the compiler.
Note: This property is incubating and may change in a future version of Gradle.
The directory where object files will be generated.
Note: This property is incubating and may change in a future version of Gradle.
Should the compiler generate optimized code?
Note: This property is incubating and may change in a future version of Gradle.
Should the compiler generate position independent code?
Note: This property is incubating and may change in a future version of Gradle.
The source files to be compiled.
Note: This property is incubating and may change in a future version of Gradle.
The system include directories to be used for compilation.
Note: This property is incubating and may change in a future version of Gradle.
The platform being compiled for.
Note: This property is incubating and may change in a future version of Gradle.
The tool chain used for compilation.
Note: This method is incubating and may change in a future version of Gradle.
Add directories where the compiler should search for header files.
Note: This method is incubating and may change in a future version of Gradle.
Adds a set of source files to be compiled. The provided sourceFiles object is evaluated as per Project.files(java.lang.Object[])
.