mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
win: tools: Add VS2022 to msvs_env.bat
This commit is contained in:
committed by
Marshall Greenblatt
parent
25954e872e
commit
7611c4dba6
@@ -31,7 +31,7 @@ if exist %vcvars% goto found_vcvars
|
|||||||
|
|
||||||
:: Search for the default VS installation path.
|
:: Search for the default VS installation path.
|
||||||
for %%x in ("%PROGRAMFILES(X86)%" "%PROGRAMFILES%") do (
|
for %%x in ("%PROGRAMFILES(X86)%" "%PROGRAMFILES%") do (
|
||||||
for %%y in (2019 2017) do (
|
for %%y in (2022 2019 2017) do (
|
||||||
for %%z in (Professional Enterprise Community BuildTools) do (
|
for %%z in (Professional Enterprise Community BuildTools) do (
|
||||||
set vcvars="%%~x\Microsoft Visual Studio\%%y\%%z\VC\Auxiliary\Build\%vcvarsbat%"
|
set vcvars="%%~x\Microsoft Visual Studio\%%y\%%z\VC\Auxiliary\Build\%vcvarsbat%"
|
||||||
if exist !vcvars! goto found_vcvars
|
if exist !vcvars! goto found_vcvars
|
||||||
|
Reference in New Issue
Block a user