- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for getVswhereInstall (0.17 sec)
-
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/version/DefaultVswhereVersionLocatorTest.groovy
given: vswhereInProgramFiles() expect: locator.getVswhereInstall().absolutePath == vswhere.absolutePath } def "finds vswhere executable in Program Files (X86)"() { given: vswhereInProgramFilesX86() expect: locator.getVswhereInstall().absolutePath == vswhere.absolutePath } def "finds vswhere executable in system path"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/version/CommandLineToolVersionLocatorTest.groovy
def versionMetadata = locator.getVisualStudioInstalls() then: versionMetadata != null versionMetadata.size() == 0 _ * vswhereLocator.getVswhereInstall() >> { new DefaultVswhereVersionLocator(windowsRegistry, os).getVswhereInstall() } } def "returns empty list if Program Files (X86) cannot be found in registry"() { given: vswhereNotFoundX86Registry() when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 9.6K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/version/VswhereVersionLocator.java
* limitations under the License. */ package org.gradle.nativeplatform.toolchain.internal.msvcpp.version; import java.io.File; public interface VswhereVersionLocator { File getVswhereInstall();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 782 bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/version/DefaultVswhereVersionLocator.java
public DefaultVswhereVersionLocator(WindowsRegistry windowsRegistry, OperatingSystem os) { this.windowsRegistry = windowsRegistry; this.os = os; } @Override public File getVswhereInstall() { for (String programFilesKey : PROGRAM_FILES_KEYS) { File programFilesDir; try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.3K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/version/CommandLineToolVersionLocator.java
} @Override protected List<VisualStudioInstallCandidate> locateInstalls() { List<VisualStudioInstallCandidate> installs = new ArrayList<>(); File vswhereBinary = vswhereLocator.getVswhereInstall(); if (vswhereBinary != null) { List<String> args = Lists.newArrayList("-all", "-legacy", "-format", "json", "-utf8"); String json = getVswhereOutput(vswhereBinary, args);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 6.1K bytes - Viewed (0) -
platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/fixtures/MSBuildVersionLocator.java
vsVersion = visualCpp.getVersion(); } else { vsVersion = VersionNumber.version(15); } File vswhere = vswhereLocator.getVswhereInstall(); if (vswhere == null) { throw new IllegalStateException("vswhere tool is required to be installed"); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 3.8K bytes - Viewed (0)