Search in sources :

Example 6 with GccCommandLineToolConfigurationInternal

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);
}
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)

Example 7 with GccCommandLineToolConfigurationInternal

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);
}
Also used : ObjectiveCppPCHCompileSpec(org.gradle.nativeplatform.toolchain.internal.compilespec.ObjectiveCppPCHCompileSpec) OutputCleaningCompiler(org.gradle.nativeplatform.toolchain.internal.OutputCleaningCompiler) GccCommandLineToolConfigurationInternal(org.gradle.nativeplatform.toolchain.internal.tools.GccCommandLineToolConfigurationInternal)

Example 8 with GccCommandLineToolConfigurationInternal

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);
}
Also used : ObjectiveCppCompileSpec(org.gradle.nativeplatform.toolchain.internal.compilespec.ObjectiveCppCompileSpec) OutputCleaningCompiler(org.gradle.nativeplatform.toolchain.internal.OutputCleaningCompiler) GccCommandLineToolConfigurationInternal(org.gradle.nativeplatform.toolchain.internal.tools.GccCommandLineToolConfigurationInternal)

Example 9 with GccCommandLineToolConfigurationInternal

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);
}
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)

Example 10 with GccCommandLineToolConfigurationInternal

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);
}
Also used : OutputCleaningCompiler(org.gradle.nativeplatform.toolchain.internal.OutputCleaningCompiler) ObjectiveCPCHCompileSpec(org.gradle.nativeplatform.toolchain.internal.compilespec.ObjectiveCPCHCompileSpec) CPCHCompileSpec(org.gradle.nativeplatform.toolchain.internal.compilespec.CPCHCompileSpec) GccCommandLineToolConfigurationInternal(org.gradle.nativeplatform.toolchain.internal.tools.GccCommandLineToolConfigurationInternal)

Aggregations

GccCommandLineToolConfigurationInternal (org.gradle.nativeplatform.toolchain.internal.tools.GccCommandLineToolConfigurationInternal)10 OutputCleaningCompiler (org.gradle.nativeplatform.toolchain.internal.OutputCleaningCompiler)8 ObjectiveCCompileSpec (org.gradle.nativeplatform.toolchain.internal.compilespec.ObjectiveCCompileSpec)2 ObjectiveCPCHCompileSpec (org.gradle.nativeplatform.toolchain.internal.compilespec.ObjectiveCPCHCompileSpec)2 ObjectiveCppCompileSpec (org.gradle.nativeplatform.toolchain.internal.compilespec.ObjectiveCppCompileSpec)2 ObjectiveCppPCHCompileSpec (org.gradle.nativeplatform.toolchain.internal.compilespec.ObjectiveCppPCHCompileSpec)2 CommandLineToolSearchResult (org.gradle.nativeplatform.toolchain.internal.tools.CommandLineToolSearchResult)2 CCompileSpec (org.gradle.nativeplatform.toolchain.internal.compilespec.CCompileSpec)1 CPCHCompileSpec (org.gradle.nativeplatform.toolchain.internal.compilespec.CPCHCompileSpec)1 CppCompileSpec (org.gradle.nativeplatform.toolchain.internal.compilespec.CppCompileSpec)1 CppPCHCompileSpec (org.gradle.nativeplatform.toolchain.internal.compilespec.CppPCHCompileSpec)1 GccMetadata (org.gradle.nativeplatform.toolchain.internal.gcc.metadata.GccMetadata)1 ComponentNotFound (org.gradle.platform.base.internal.toolchain.ComponentNotFound)1