Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
30384:841afbdd1981 | 30385:54dda39c5bb3 |
---|---|
68 ------------- | 68 ------------- |
69 | 69 |
70 Building with Visual Studio (VS2015, VS2017, VS2019 and VS2022) is | 70 Building with Visual Studio (VS2015, VS2017, VS2019 and VS2022) is |
71 straightforward. Older versions probably don't work. | 71 straightforward. Older versions probably don't work. |
72 | 72 |
73 Visual Studio installed a batch file called vcvars32.bat, which you must | 73 Visual Studio installed a batch file called vcvarsall.bat, which you must |
74 run to set up paths for nmake and MSVC. We provide a batch file | 74 run to set up paths for nmake and MSVC. We provide a batch file |
75 "msvc2015.bat" for this. You may need to edit it if you didn't instal Visual | 75 "msvc2015.bat" for this. You may need to edit it if you didn't instal Visual |
76 Studio in the standard location. | 76 Studio in the standard location. |
77 If you use VS2017 or later, you can use "msvc-latest.bat" (or "msvc2017.bat" | |
78 and so on for the specific version). You must specify the architecture (e.g. | |
79 "x86", "x64", etc.) as the first argument when you use this. If you use VS2017 | |
80 Express, you must use "x86_amd64" instead of "x64" for targeting the x64 | |
81 platform. | |
77 | 82 |
78 To build Vim from the command line with MSVC, use Make_mvc.mak. | 83 To build Vim from the command line with MSVC, use Make_mvc.mak. |
79 | 84 |
80 nmake -f Make_mvc.mak console Win32 SDK or Microsoft Visual C++ | 85 nmake -f Make_mvc.mak console Win32 SDK or Microsoft Visual C++ |
81 nmake -f Make_mvc.mak GUI=yes GUI Microsoft Visual C++ | 86 nmake -f Make_mvc.mak GUI=yes GUI Microsoft Visual C++ |