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