comparison src/msvc2015.bat @ 30381:fe97616d43d2 v9.0.0526

patch 9.0.0526: MS-Windows: still some support for XP and old compilers Commit: https://github.com/vim/vim/commit/f7c7aa3594b9f917b0b9571e1e60bef69b55244d Author: K.Takata <kentkt@csc.jp> Date: Wed Sep 21 10:51:13 2022 +0100 patch 9.0.0526: MS-Windows: still some support for XP and old compilers Problem: MS-Windows: still some support for XP and old compilers. Solution: Remove XP support and mention of old compilers. (Ken Takata, closes #11183)
author Bram Moolenaar <Bram@vim.org>
date Wed, 21 Sep 2022 12:00:05 +0200
parents 8eb8200a55b2
children
comparison
equal deleted inserted replaced
30380:a0e10d2f2b44 30381:fe97616d43d2
9 rem msvc2015 x86_amd64 9 rem msvc2015 x86_amd64
10 rem This works on any editions including Express edition. 10 rem This works on any editions including Express edition.
11 rem If you use Community (or Professional) edition, you can also use "x64" 11 rem If you use Community (or Professional) edition, you can also use "x64"
12 rem option: 12 rem option:
13 rem msvc2015 x64 13 rem msvc2015 x64
14 @echo on
15 14
16 call "%VS140COMNTOOLS%..\..\VC\vcvarsall.bat" %* 15 call "%VS140COMNTOOLS%..\..\VC\vcvarsall.bat" %*
17
18 rem Use Windows SDK 7.1A for targeting Windows XP.
19 if "%ProgramFiles(x86)%"=="" (
20 set "WinSdk71=%ProgramFiles%\Microsoft SDKs\Windows\v7.1A"
21 ) else (
22 set "WinSdk71=%ProgramFiles(x86)%\Microsoft SDKs\Windows\v7.1A"
23 )
24 if not exist "%WinSdk71%" (
25 echo Windows SDK 7.1A is not found. Targeting Windows Vista and later.
26 goto :eof
27 )
28
29 set INCLUDE=%WinSdk71%\Include;%INCLUDE%
30 if /i "%Platform%"=="x64" (
31 set "LIB=%WinSdk71%\Lib\x64;%LIB%"
32 set SUBSYSTEM_VER=5.02
33 ) else (
34 set "LIB=%WinSdk71%\Lib;%LIB%"
35 set SUBSYSTEM_VER=5.01
36 )
37 set CL=/D_USING_V110_SDK71_