Mercurial > vim
diff src/INSTALLpc.txt @ 30385:54dda39c5bb3 v9.0.0528
patch 9.0.0528: MS-Windows: no batch files for more recent MSVC versions
Commit: https://github.com/vim/vim/commit/c3430cb583ff05722e33195e4818c88a59bb2fee
Author: K.Takata <kentkt@csc.jp>
Date: Wed Sep 21 11:56:41 2022 +0100
patch 9.0.0528: MS-Windows: no batch files for more recent MSVC versions
Problem: MS-Windows: no batch files for more recent MSVC versions.
Solution: Add batch files for 2017, 2019 and 2022. (Ken Takata,
closes #11184)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 21 Sep 2022 13:00:03 +0200 |
parents | c9d2c554f314 |
children | 1e91e26ceebf |
line wrap: on
line diff
--- a/src/INSTALLpc.txt +++ b/src/INSTALLpc.txt @@ -70,10 +70,15 @@ Visual Studio Building with Visual Studio (VS2015, VS2017, VS2019 and VS2022) is straightforward. Older versions probably don't work. -Visual Studio installed a batch file called vcvars32.bat, which you must +Visual Studio installed a batch file called vcvarsall.bat, which you must run to set up paths for nmake and MSVC. We provide a batch file "msvc2015.bat" for this. You may need to edit it if you didn't instal Visual Studio in the standard location. +If you use VS2017 or later, you can use "msvc-latest.bat" (or "msvc2017.bat" +and so on for the specific version). You must specify the architecture (e.g. +"x86", "x64", etc.) as the first argument when you use this. If you use VS2017 +Express, you must use "x86_amd64" instead of "x64" for targeting the x64 +platform. To build Vim from the command line with MSVC, use Make_mvc.mak.