Search in sources :

Example 1 with ObjectiveCCompileSpec

use of org.gradle.nativeplatform.toolchain.internal.compilespec.ObjectiveCCompileSpec in project gradle by gradle.

the class GccPlatformToolProvider method createObjectiveCCompiler.

@Override
protected Compiler<ObjectiveCCompileSpec> createObjectiveCCompiler() {
    GccCommandLineToolConfigurationInternal objectiveCCompilerTool = toolRegistry.getTool(ToolType.OBJECTIVEC_COMPILER);
    ObjectiveCCompiler objectiveCCompiler = new ObjectiveCCompiler(buildOperationExecutor, compilerOutputFileNamingSchemeFactory, commandLineTool(objectiveCCompilerTool), context(objectiveCCompilerTool), getObjectFileExtension(), useCommandFile, workerLeaseService);
    OutputCleaningCompiler<ObjectiveCCompileSpec> outputCleaningCompiler = new OutputCleaningCompiler<ObjectiveCCompileSpec>(objectiveCCompiler, compilerOutputFileNamingSchemeFactory, getObjectFileExtension());
    return versionAwareCompiler(outputCleaningCompiler, ToolType.OBJECTIVEC_COMPILER);
}
Also used : OutputCleaningCompiler(org.gradle.nativeplatform.toolchain.internal.OutputCleaningCompiler) ObjectiveCCompileSpec(org.gradle.nativeplatform.toolchain.internal.compilespec.ObjectiveCCompileSpec) GccCommandLineToolConfigurationInternal(org.gradle.nativeplatform.toolchain.internal.tools.GccCommandLineToolConfigurationInternal)

Aggregations

OutputCleaningCompiler (org.gradle.nativeplatform.toolchain.internal.OutputCleaningCompiler)1 ObjectiveCCompileSpec (org.gradle.nativeplatform.toolchain.internal.compilespec.ObjectiveCCompileSpec)1 GccCommandLineToolConfigurationInternal (org.gradle.nativeplatform.toolchain.internal.tools.GccCommandLineToolConfigurationInternal)1