use of org.gradle.nativeplatform.toolchain.internal.compilespec.WindowsResourceCompileSpec in project gradle by gradle.
the class VisualCppPlatformToolProvider method createWindowsResourceCompiler.
@Override
protected Compiler<WindowsResourceCompileSpec> createWindowsResourceCompiler() {
CommandLineToolInvocationWorker commandLineTool = tool("Windows resource compiler", sdk.getResourceCompiler());
String objectFileExtension = ".res";
WindowsResourceCompiler windowsResourceCompiler = new WindowsResourceCompiler(buildOperationExecutor, compilerOutputFileNamingSchemeFactory, commandLineTool, context(commandLineToolConfigurations.get(ToolType.WINDOW_RESOURCES_COMPILER)), addDefinitions(WindowsResourceCompileSpec.class), objectFileExtension, false, workerLeaseService);
return new OutputCleaningCompiler<WindowsResourceCompileSpec>(windowsResourceCompiler, compilerOutputFileNamingSchemeFactory, objectFileExtension);
}
Aggregations