annotate src/msvc2022.bat @ 31505:dc282943639c v9.0.1085

patch 9.0.1085: compiler warns for uninitialized variable Commit: https://github.com/vim/vim/commit/9b8a365d019bb948efba5b5276d52bdd99e15d05 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 20 20:47:28 2022 +0000 patch 9.0.1085: compiler warns for uninitialized variable Problem: Compiler warns for uninitialized variable. Solution: Initialize the variable. Remove unused function. (John Marriott)
author Bram Moolenaar <Bram@vim.org>
date Tue, 20 Dec 2022 22:00:04 +0100
parents 54dda39c5bb3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
30385
54dda39c5bb3 patch 9.0.0528: MS-Windows: no batch files for more recent MSVC versions
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 @echo off
54dda39c5bb3 patch 9.0.0528: MS-Windows: no batch files for more recent MSVC versions
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 rem To be used on MS-Windows for Visual C++ 2022.
54dda39c5bb3 patch 9.0.0528: MS-Windows: no batch files for more recent MSVC versions
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 rem See INSTALLpc.txt for information.
54dda39c5bb3 patch 9.0.0528: MS-Windows: no batch files for more recent MSVC versions
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 rem
54dda39c5bb3 patch 9.0.0528: MS-Windows: no batch files for more recent MSVC versions
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5 rem Usage:
54dda39c5bb3 patch 9.0.0528: MS-Windows: no batch files for more recent MSVC versions
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 rem For x86 builds run this with "x86" option:
54dda39c5bb3 patch 9.0.0528: MS-Windows: no batch files for more recent MSVC versions
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 rem msvc2022 x86
54dda39c5bb3 patch 9.0.0528: MS-Windows: no batch files for more recent MSVC versions
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 rem For x64 builds run this with "x64" option:
54dda39c5bb3 patch 9.0.0528: MS-Windows: no batch files for more recent MSVC versions
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 rem msvc2022 x64
54dda39c5bb3 patch 9.0.0528: MS-Windows: no batch files for more recent MSVC versions
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10
54dda39c5bb3 patch 9.0.0528: MS-Windows: no batch files for more recent MSVC versions
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 set "VSVEROPT=-version [17.0^,18.0^)"
54dda39c5bb3 patch 9.0.0528: MS-Windows: no batch files for more recent MSVC versions
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 call "%~dp0msvc-latest.bat" %*
54dda39c5bb3 patch 9.0.0528: MS-Windows: no batch files for more recent MSVC versions
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 set VSVEROPT=