Lines Matching refs:if
11 @if '%1' EQU '' goto :begin_search
14 @rem parse the next if statement - incorrect quoting in the multi-arg
16 @if '%2' EQU '' goto :one_arg
18 @rem Entire command line may represent the full path if quoting failed.
19 @if exist "%*" (set MSBUILD="%*") & (set _Py_MSBuild_Source=environment) & goto :found
23 @if exist "%~1" (set MSBUILD="%~1") & (set _Py_MSBuild_Source=environment) & goto :found
30 @if exist "%MSBUILD%" set MSBUILD="%MSBUILD%" & (set _Py_MSBuild_Source=PATH) & goto :found
33 @if not exist "%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" goto :skip_vswhere
36 @if not defined _Py_MSBuild_Root goto :skip_vswhere
37 @for %%j in (Current 15.0) DO @if exist "%_Py_MSBuild_Root%\%%j\Bin\msbuild.exe" (set MSBUILD="%_Py_MSBuild_Root%\%%j\Bin\msbuild.exe")
39 @if defined MSBUILD @if exist %MSBUILD% (set _Py_MSBuild_Source=Visual Studio installation) & goto :found
44 @if NOT ERRORLEVEL 1 @for /F "tokens=1,2*" %%i in ('reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\14.0" /v MSBuildToolsPath /reg:32') DO @(
45 @if "%%i"=="MSBuildToolsPath" @if exist "%%k\msbuild.exe" @(set MSBUILD="%%k\msbuild.exe")
47 @if exist %MSBUILD% (set _Py_MSBuild_Source=registry) & goto :found
54 @if not ERRORLEVEL 1 @(
55 @if exist msbuild.exe @(set MSBUILD="%CD%\msbuild.exe") else @(set MSBUILD=)
59 @if defined MSBUILD @echo Using %MSBUILD% (found in the %_Py_MSBuild_Source%)
60 @if not defined MSBUILD @echo Failed to find MSBuild
62 @if not defined MSBUILD @exit /b 1