aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/backends.py
diff options
context:
space:
mode:
authorCrend King <975235+CrendKing@users.noreply.github.com>2021-11-10 04:11:31 -0800
committerEli Schwartz <eschwartz93@gmail.com>2021-11-21 08:08:11 -0500
commit809792c2233ee0da4127d77f73c3bf715128d33c (patch)
tree30b94948ff00790e360c5128250b7536d3712ec4 /mesonbuild/backend/backends.py
parent59245101881ec5e24bc61ec35576ad376a769f40 (diff)
downloadmeson-809792c2233ee0da4127d77f73c3bf715128d33c.zip
meson-809792c2233ee0da4127d77f73c3bf715128d33c.tar.gz
meson-809792c2233ee0da4127d77f73c3bf715128d33c.tar.bz2
Support Visual Studio 2022 backend
Diffstat (limited to 'mesonbuild/backend/backends.py')
-rw-r--r--mesonbuild/backend/backends.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py
index 1d04c91..6c15678 100644
--- a/mesonbuild/backend/backends.py
+++ b/mesonbuild/backend/backends.py
@@ -259,6 +259,9 @@ def get_backend_from_name(backend: str, build: T.Optional[build.Build] = None, i
elif backend == 'vs2019':
from . import vs2019backend
return vs2019backend.Vs2019Backend(build, interpreter)
+ elif backend == 'vs2022':
+ from . import vs2022backend
+ return vs2022backend.Vs2022Backend(build, interpreter)
elif backend == 'xcode':
from . import xcodebackend
return xcodebackend.XCodeBackend(build, interpreter)