Search in sources :

Example 1 with WindowsResourceCompileSpec

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);
}
Also used : OutputCleaningCompiler(org.gradle.nativeplatform.toolchain.internal.OutputCleaningCompiler) DefaultCommandLineToolInvocationWorker(org.gradle.nativeplatform.toolchain.internal.DefaultCommandLineToolInvocationWorker) CommandLineToolInvocationWorker(org.gradle.nativeplatform.toolchain.internal.CommandLineToolInvocationWorker) WindowsResourceCompileSpec(org.gradle.nativeplatform.toolchain.internal.compilespec.WindowsResourceCompileSpec)

Aggregations

CommandLineToolInvocationWorker (org.gradle.nativeplatform.toolchain.internal.CommandLineToolInvocationWorker)1 DefaultCommandLineToolInvocationWorker (org.gradle.nativeplatform.toolchain.internal.DefaultCommandLineToolInvocationWorker)1 OutputCleaningCompiler (org.gradle.nativeplatform.toolchain.internal.OutputCleaningCompiler)1 WindowsResourceCompileSpec (org.gradle.nativeplatform.toolchain.internal.compilespec.WindowsResourceCompileSpec)1