annotate src/msvc2022.bat @ 34051:f96f16107d61

runtime(sh): Update sh syntax and add local keyword for bash (#13806) Commit: https://github.com/vim/vim/commit/b16fc9805535dc6eb084142da0c87210fc102494 Author: Lucien Grondin <grondilu@yahoo.fr> Date: Mon Jan 1 19:00:41 2024 +0100 runtime(sh): Update sh syntax and add local keyword for bash (https://github.com/vim/vim/issues/13806) add `local` in shStatement Signed-off-by: Lucien Grondin <grondilu@yahoo.fr> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Mon, 01 Jan 2024 19:15:03 +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=