use of org.gradle.nativeplatform.toolchain.internal.tools.GccCommandLineToolConfigurationInternal 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);
}
use of org.gradle.nativeplatform.toolchain.internal.tools.GccCommandLineToolConfigurationInternal in project gradle by gradle.
the class GccPlatformToolProvider method createObjectiveCppPCHCompiler.
@Override
protected Compiler<?> createObjectiveCppPCHCompiler() {
GccCommandLineToolConfigurationInternal objectiveCppCompilerTool = toolRegistry.getTool(ToolType.OBJECTIVECPP_COMPILER);
ObjectiveCppPCHCompiler objectiveCppPCHCompiler = new ObjectiveCppPCHCompiler(buildOperationExecutor, compilerOutputFileNamingSchemeFactory, commandLineTool(objectiveCppCompilerTool), context(objectiveCppCompilerTool), getPCHFileExtension(), useCommandFile, workerLeaseService);
OutputCleaningCompiler<ObjectiveCppPCHCompileSpec> outputCleaningCompiler = new OutputCleaningCompiler<ObjectiveCppPCHCompileSpec>(objectiveCppPCHCompiler, compilerOutputFileNamingSchemeFactory, getPCHFileExtension());
return versionAwareCompiler(outputCleaningCompiler, ToolType.OBJECTIVECPP_COMPILER);
}
use of org.gradle.nativeplatform.toolchain.internal.tools.GccCommandLineToolConfigurationInternal in project gradle by gradle.
the class GccPlatformToolProvider method createObjectiveCppCompiler.
@Override
protected Compiler<ObjectiveCppCompileSpec> createObjectiveCppCompiler() {
GccCommandLineToolConfigurationInternal objectiveCppCompilerTool = toolRegistry.getTool(ToolType.OBJECTIVECPP_COMPILER);
ObjectiveCppCompiler objectiveCppCompiler = new ObjectiveCppCompiler(buildOperationExecutor, compilerOutputFileNamingSchemeFactory, commandLineTool(objectiveCppCompilerTool), context(objectiveCppCompilerTool), getObjectFileExtension(), useCommandFile, workerLeaseService);
OutputCleaningCompiler<ObjectiveCppCompileSpec> outputCleaningCompiler = new OutputCleaningCompiler<ObjectiveCppCompileSpec>(objectiveCppCompiler, compilerOutputFileNamingSchemeFactory, getObjectFileExtension());
return versionAwareCompiler(outputCleaningCompiler, ToolType.OBJECTIVECPP_COMPILER);
}
use of org.gradle.nativeplatform.toolchain.internal.tools.GccCommandLineToolConfigurationInternal 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);
}
use of org.gradle.nativeplatform.toolchain.internal.tools.GccCommandLineToolConfigurationInternal in project gradle by gradle.
the class GccPlatformToolProvider method createCPCHCompiler.
@Override
protected Compiler<?> createCPCHCompiler() {
GccCommandLineToolConfigurationInternal cCompilerTool = toolRegistry.getTool(ToolType.C_COMPILER);
CPCHCompiler cpchCompiler = new CPCHCompiler(buildOperationExecutor, compilerOutputFileNamingSchemeFactory, commandLineTool(cCompilerTool), context(cCompilerTool), getPCHFileExtension(), useCommandFile, workerLeaseService);
OutputCleaningCompiler<CPCHCompileSpec> outputCleaningCompiler = new OutputCleaningCompiler<CPCHCompileSpec>(cpchCompiler, compilerOutputFileNamingSchemeFactory, getPCHFileExtension());
return versionAwareCompiler(outputCleaningCompiler, ToolType.C_COMPILER);
}
Aggregations