- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 70 for toolType (0.32 sec)
-
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/ToolType.java
*/ package org.gradle.nativeplatform.toolchain.internal; import org.gradle.util.internal.GUtil; // Should use stronger modelling for this and make the set of tools open, rather than hard-coding here public enum ToolType { CPP_COMPILER("C++ compiler"), C_COMPILER("C compiler"), OBJECTIVECPP_COMPILER("Objective-C++ compiler"), OBJECTIVEC_COMPILER("Objective-C compiler"),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/DefaultVisualCppPlatformToolChain.java
tools.put(ToolType.CPP_COMPILER, instantiator.newInstance(DefaultCommandLineToolConfiguration.class, ToolType.CPP_COMPILER)); tools.put(ToolType.LINKER, instantiator.newInstance(DefaultCommandLineToolConfiguration.class, ToolType.LINKER)); tools.put(ToolType.STATIC_LIB_ARCHIVER, instantiator.newInstance(DefaultCommandLineToolConfiguration.class, ToolType.STATIC_LIB_ARCHIVER));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.3K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/swift/SwiftPlatformToolProvider.java
public CommandLineToolSearchResult locateTool(ToolType compilerType) { if (compilerType == ToolType.SWIFT_COMPILER || compilerType == ToolType.LINKER) { return toolSearchPath.locate(compilerType, "swiftc"); } if (compilerType == ToolType.STATIC_LIB_ARCHIVER) { return toolSearchPath.locate(compilerType, "ar"); } if (compilerType == ToolType.SYMBOL_EXTRACTOR) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 8.4K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/gcc/GccPlatformToolProvider.java
import java.util.Map; class GccPlatformToolProvider extends AbstractPlatformToolProvider { private static final Map<ToolType, String> LANGUAGE_FOR_COMPILER = ImmutableMap.of( ToolType.C_COMPILER, "c", ToolType.CPP_COMPILER, "c++", ToolType.OBJECTIVEC_COMPILER, "objective-c", ToolType.OBJECTIVECPP_COMPILER, "objective-c++" ); private final ToolSearchPath toolSearchPath;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 16.1K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/gcc/DefaultGccPlatformToolChain.java
public GccCommandLineToolConfigurationInternal getTool(ToolType toolType) { return tools.get(toolType); } public Collection<GccCommandLineToolConfigurationInternal> getTools() { return tools.values(); } public Collection<GccCommandLineToolConfigurationInternal> getCompilers() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 4.2K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/tools/DefaultCommandLineToolConfiguration.java
import org.gradle.nativeplatform.toolchain.internal.ToolType; import java.util.ArrayList; import java.util.List; public class DefaultCommandLineToolConfiguration implements CommandLineToolConfigurationInternal { private final ToolType toolType; private List<Action<? super List<String>>> argActions = new ArrayList<Action<? super List<String>>>(); public DefaultCommandLineToolConfiguration(ToolType toolType) { this.toolType = toolType;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/swift/DefaultSwiftcPlatformToolChain.java
public CommandLineToolConfiguration getSwiftCompiler() { return tools.get(ToolType.SWIFT_COMPILER); } @Override public CommandLineToolConfiguration getLinker() { return tools.get(ToolType.LINKER); } @Override public CommandLineToolConfiguration getStaticLibArchiver() { return tools.get(ToolType.STATIC_LIB_ARCHIVER); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/GccPlatformToolProviderTest.groovy
} 1 * toolRegistry.getTool(toolType) >> new DefaultGccCommandLineToolConfiguration(toolType, 'exe') 1 * toolSearchPath.locate(toolType, 'exe') >> Mock(CommandLineToolSearchResult) where: toolType | args ToolType.CPP_COMPILER | ['-x', 'c++'] ToolType.C_COMPILER | ['-x', 'c'] ToolType.OBJECTIVEC_COMPILER | ['-x', 'objective-c']
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5.1K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/tools/ToolSearchPathTest.groovy
import org.gradle.api.GradleException import org.gradle.internal.logging.text.DiagnosticsVisitor import org.gradle.internal.os.OperatingSystem import org.gradle.nativeplatform.toolchain.internal.ToolType import org.gradle.test.fixtures.file.TestNameTestDirectoryProvider import org.junit.Rule import spock.lang.Specification class ToolSearchPathTest extends Specification {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5.6K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/UnavailablePlatformToolProvider.java
@Override public <T> T get(Class<T> toolType) { throw new IllegalArgumentException(String.format("Don't know how to provide tool of type %s.", toolType.getSimpleName())); } @Override public <T extends CompileSpec> Compiler<T> newCompiler(Class<T> specType) { throw failure(); } @Override public CommandLineToolSearchResult locateTool(ToolType compilerType) { return this;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 4.5K bytes - Viewed (0)