aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-07-17 09:47:56 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-07-17 09:47:56 +0200
commit3dcb92ca95c98488339185cdb853152123daa47b (patch)
treee0904b38aa8d252e3bf0ed1aa18f35300010e470
parenta8ce5c5de2a346a813ee9608c4733936cd69eb04 (diff)
Add support for MSVC 17 (2022) in bootstrap and environment batch files
-rw-r--r--etc/bootstrap/bbot-bootstrap-msvc.bat3
-rw-r--r--etc/environments/default-msvc.bat7
2 files changed, 7 insertions, 3 deletions
diff --git a/etc/bootstrap/bbot-bootstrap-msvc.bat b/etc/bootstrap/bbot-bootstrap-msvc.bat
index ab119b8..7506f1e 100644
--- a/etc/bootstrap/bbot-bootstrap-msvc.bat
+++ b/etc/bootstrap/bbot-bootstrap-msvc.bat
@@ -45,7 +45,8 @@ goto start
:start
rem set "MSVC=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community"
-set "MSVC=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community"
+rem set "MSVC=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community"
+set "MSVC=C:\Program Files\Microsoft Visual Studio\2022\Community"
set "VCVARS=VC\Auxiliary\Build\vcvars64.bat"
set "BUILD=C:\tmp"
diff --git a/etc/environments/default-msvc.bat b/etc/environments/default-msvc.bat
index c856fc9..c07f825 100644
--- a/etc/environments/default-msvc.bat
+++ b/etc/environments/default-msvc.bat
@@ -17,8 +17,11 @@ set "MSVC="
rem set "MSVC=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community"
rem set "MSVC_VER=14.1"
-set "MSVC=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community"
-set "MSVC_VER=14.2"
+rem set "MSVC=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community"
+rem set "MSVC_VER=14.2"
+
+set "MSVC=C:\Program Files\Microsoft Visual Studio\2022\Community"
+set "MSVC_VER=14.3"
set "VCVARS32=VC\Auxiliary\Build\vcvarsamd64_x86.bat"
set "VCVARS64=VC\Auxiliary\Build\vcvars64.bat"