Sha256: 42d17374dc38f04e03a6b61fa81a162050a2ef6f1d8a1c5b95260b2d463547cd

Contents?: true

Size: 1.28 KB

Versions: 10

Compression:

Stored size: 1.28 KB

Contents

:: Copyright 2017 - Refael Ackermann
:: Distributed under MIT style license or the libuv license
:: See accompanying file LICENSE at https://github.com/node4good/windows-autoconf
:: or libuv LICENSE file at https://github.com/libuv/libuv
:: version: 2.0.0

@if not defined DEBUG_HELPER @ECHO OFF
setlocal
if "%~1"=="prerelease" set VSWHERE_WITH_PRERELEASE=1
set "InstallerPath=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer"
if not exist "%InstallerPath%" set "InstallerPath=%ProgramFiles%\Microsoft Visual Studio\Installer"
if not exist "%InstallerPath%" goto :no-vswhere
:: Manipulate %Path% for easier " handeling
set "Path=%Path%;%InstallerPath%"
where vswhere 2> nul > nul
if errorlevel 1 goto :no-vswhere
set VSWHERE_REQ=-requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64
set VSWHERE_PRP=-property installationPath
set VSWHERE_LMT=-version "[15.0,16.0)"
vswhere -prerelease > nul
if not errorlevel 1 if "%VSWHERE_WITH_PRERELEASE%"=="1" set "VSWHERE_LMT=%VSWHERE_LMT% -prerelease"
SET VSWHERE_ARGS=-latest -products * %VSWHERE_REQ% %VSWHERE_PRP% %VSWHERE_LMT%
for /f "usebackq tokens=*" %%i in (`vswhere %VSWHERE_ARGS%`) do (
    endlocal
    set "VCINSTALLDIR=%%i\VC\"
    set "VS150COMNTOOLS=%%i\Common7\Tools\"
    exit /B 0
)

:no-vswhere
endlocal
echo could not find "vswhere"
exit /B 1

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
mt-libuv-4.1.04 ext/libuv/tools/vswhere_usability_wrapper.cmd
mt-libuv-4.1.03 ext/libuv/tools/vswhere_usability_wrapper.cmd
mt-libuv-4.1.02 ext/libuv/tools/vswhere_usability_wrapper.cmd
libuv-4.0.9 ext/libuv/tools/vswhere_usability_wrapper.cmd
libuv-4.0.2 ext/libuv/tools/vswhere_usability_wrapper.cmd
libuv-4.0.1 ext/libuv/tools/vswhere_usability_wrapper.cmd
libuv-4.0.0 ext/libuv/tools/vswhere_usability_wrapper.cmd
libuv-3.3.0 ext/libuv/tools/vswhere_usability_wrapper.cmd
libuv-3.2.4 ext/libuv/tools/vswhere_usability_wrapper.cmd
libuv-3.2.3 ext/libuv/tools/vswhere_usability_wrapper.cmd