Compiles Windows Resource scripts into .res files.
Type | Name and description |
---|---|
List<String> |
compilerArgs Additional arguments to provide to the compiler. |
FileCollection |
includes Returns the header directories to be used for compilation. |
Map<String, String> |
macros Macros that should be defined for the compiler. |
File |
outputDir The directory where object files will be generated. |
FileCollection |
source Returns the source files to be compiled. |
Platform |
targetPlatform The platform being targeted. |
ToolChain |
toolChain The tool chain used for compilation. |
Constructor and description |
---|
WindowsResourceCompile
() |
Type | Name and description |
---|---|
void |
compile(IncrementalTaskInputs inputs) |
IncrementalCompilerBuilder |
getIncrementalCompilerBuilder() |
def |
getOutputType() |
void |
includes(Object includeRoots) Add directories where the compiler should search for header files. |
void |
source(Object sourceFiles) Adds a set of source files to be compiled. |
Returns the header directories to be used for compilation.
The directory where object files will be generated.
Returns the source files to be compiled.
The platform being targeted.
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.
Gradle API 2.0