Add support for generating Microsoft Visual Studio 2022 project files.
* build/generator/gen_win_dependencies.py
(parse_options): Add magic numbers for Visual Studio 2022.
@@ -285,6 +285,11 @@ class GenDependenciesBase(gen_base.GeneratorBase):
self.sln_version = '12.00'
self.vcproj_version = '14.2'
self.vcproj_extension = '.vcxproj'
+ elif val == '2022' or val == '17':
+ self.vs_version = '2022'
+ self.sln_version = '12.00'
+ self.vcproj_version = '14.3'
+ self.vcproj_extension = '.vcxproj'
elif re.match('^20\d+$', val):
print('WARNING: Unknown VS.NET version "%s",'
' assuming VS2012. Your VS can probably upgrade')
