summaryrefslogtreecommitdiff
path: root/edksetup.bat
diff options
context:
space:
mode:
authorMatthew Carlson <matthewfcarlson@gmail.com>2024-06-19 21:31:38 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-07-08 16:50:21 +0000
commit95a6892aacfef6c7862058fcdc495f6b35df9367 (patch)
treec5351a9f34cf21e32a5cbd5b8aea05f5eac17679 /edksetup.bat
parent049e12c03d27f0a6bf57f4f1835cab5e205661a7 (diff)
downloadedk2-95a6892aacfef6c7862058fcdc495f6b35df9367.zip
edk2-95a6892aacfef6c7862058fcdc495f6b35df9367.tar.gz
edk2-95a6892aacfef6c7862058fcdc495f6b35df9367.tar.bz2
BaseTools: Add VS2022 support.
Adding tools_def for VS2022. Update WindowsVsToolChain to support VS2022. Update set_vsPrefix_envs and toolsetup and edksetup to support VS2022. Signed-off-by: Aaron Pop <aaronpop@microsoft.com>
Diffstat (limited to 'edksetup.bat')
-rwxr-xr-xedksetup.bat2
1 files changed, 2 insertions, 0 deletions
diff --git a/edksetup.bat b/edksetup.bat
index 71ceefb..0695388 100755
--- a/edksetup.bat
+++ b/edksetup.bat
@@ -146,6 +146,7 @@ if defined CYGWIN_HOME (
:cygwin_done
if /I "%1"=="Rebuild" shift
if /I "%1"=="ForceRebuild" shift
+if /I "%1"=="VS2022" shift
if /I "%1"=="VS2019" shift
if /I "%1"=="VS2017" shift
if /I "%1"=="VS2015" shift
@@ -161,6 +162,7 @@ if "%1"=="" goto end
@echo VS2015 Set the env for VS2015 build.
@echo VS2017 Set the env for VS2017 build.
@echo VS2019 Set the env for VS2019 build.
+ @echo VS2022 Set the env for VS2022 build.
@echo.
@echo Note that target.template, tools_def.template and build_rules.template
@echo will only be copied to target.txt, tools_def.txt and build_rule.txt