Search in sources :

Example 1 with ObjectiveCPCHCompileSpec

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

the class GccPlatformToolProvider method createObjectiveCPCHCompiler.

@Override
protected Compiler<?> createObjectiveCPCHCompiler() {
    GccCommandLineToolConfigurationInternal objectiveCCompilerTool = toolRegistry.getTool(ToolType.OBJECTIVEC_COMPILER);
    ObjectiveCPCHCompiler objectiveCPCHCompiler = new ObjectiveCPCHCompiler(buildOperationExecutor, compilerOutputFileNamingSchemeFactory, commandLineTool(objectiveCCompilerTool), context(objectiveCCompilerTool), getPCHFileExtension(), useCommandFile, workerLeaseService);
    OutputCleaningCompiler<ObjectiveCPCHCompileSpec> outputCleaningCompiler = new OutputCleaningCompiler<ObjectiveCPCHCompileSpec>(objectiveCPCHCompiler, compilerOutputFileNamingSchemeFactory, getPCHFileExtension());
    return versionAwareCompiler(outputCleaningCompiler, ToolType.OBJECTIVEC_COMPILER);
}
Also used : OutputCleaningCompiler(org.gradle.nativeplatform.toolchain.internal.OutputCleaningCompiler) ObjectiveCPCHCompileSpec(org.gradle.nativeplatform.toolchain.internal.compilespec.ObjectiveCPCHCompileSpec) GccCommandLineToolConfigurationInternal(org.gradle.nativeplatform.toolchain.internal.tools.GccCommandLineToolConfigurationInternal)

Aggregations

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