diff options
author | Ray Molenkamp <github@lazydodo.com> | 2018-07-17 23:44:47 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2018-07-17 23:44:47 +0300 |
commit | 41045478ab7fd3efc989952bfd7a83c5cbb88dbc (patch) | |
tree | bc2e2cfd61a241e1e0652ce0640a6cae0ed05384 /build_files/windows/detect_msvc_classic.cmd | |
parent | efe94793c0854454517f49f833f688e0652f4ec0 (diff) |
make.bat: remove msvc2013 support.
Diffstat (limited to 'build_files/windows/detect_msvc_classic.cmd')
-rw-r--r-- | build_files/windows/detect_msvc_classic.cmd | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/build_files/windows/detect_msvc_classic.cmd b/build_files/windows/detect_msvc_classic.cmd deleted file mode 100644 index 61bfcf92ddf..00000000000 --- a/build_files/windows/detect_msvc_classic.cmd +++ /dev/null @@ -1,69 +0,0 @@ -if NOT "%verbose%" == "" ( - echo Detecting msvc %BUILD_VS_YEAR% -) -set KEY_NAME="HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\%BUILD_VS_VER%.0\Setup\VC" -for /F "usebackq skip=2 tokens=1-2*" %%A IN (`REG QUERY %KEY_NAME% /v ProductDir 2^>nul`) DO set MSVC_VC_DIR=%%C -if DEFINED MSVC_VC_DIR ( - if NOT "%verbose%" == "" ( - echo Visual Studio %BUILD_VS_YEAR% on Win64 detected at "%MSVC_VC_DIR%" - ) - goto msvc_detect_finally -) - -REM Check 32 bits -set KEY_NAME="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\%BUILD_VS_VER%.0\Setup\VC" -for /F "usebackq skip=2 tokens=1-2*" %%A IN (`REG QUERY %KEY_NAME% /v ProductDir 2^>nul`) DO set MSVC_VC_DIR=%%C -if DEFINED MSVC_VC_DIR ( - if NOT "%verbose%" == "" ( - echo Visual Studio %BUILD_VS_YEAR% on Win32 detected at "%MSVC_VC_DIR%" - ) - goto msvc_detect_finally -) -if NOT "%verbose%" == "" ( - echo Visual Studio %BUILD_VS_YEAR% not found. -) -goto FAIL -:msvc_detect_finally -set VCVARS=%MSVC_VC_DIR%\vcvarsall.bat -if not exist "%VCVARS%" ( - echo "%VCVARS%" not found. - goto FAIL -) - -call "%vcvars%" %BUILD_ARCH% - -rem try msbuild -msbuild /version > NUL -if errorlevel 1 ( - if NOT "%verbose%" == "" ( - echo Visual Studio %BUILD_VS_YEAR% msbuild not found - ) - goto FAIL -) - -if NOT "%verbose%" == "" ( - echo Visual Studio %BUILD_VS_YEAR% msbuild found -) - -REM try the c++ compiler -cl 2> NUL 1>&2 -if errorlevel 1 ( - if NOT "%verbose%" == "" ( - echo Visual Studio %BUILD_VS_YEAR% C/C++ Compiler not found - ) - goto FAIL -) - -if NOT "%verbose%" == "" ( - echo Visual Studio %BUILD_VS_YEAR% C/C++ Compiler found -) -goto DetectionComplete - -:FAIL -exit /b 1 - -:DetectionComplete -if NOT "%verbose%" == "" ( - echo Visual Studio %BUILD_VS_YEAR% Detected successfuly -) -exit /b 0 |