From b30cd5d2d587546eac8b560a8c311a52d69fb53e Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Thu, 19 Jan 2023 13:39:51 -0500 Subject: Make --vsenv a readonly builtin option We need to remember its value when reconfiguring, but the Build object is not reused, only coredata is. This also makes CLI more consistent by allowing `-Dvsenv=true` syntax. Fixes: #11309 --- mesonbuild/utils/universal.py | 1 + 1 file changed, 1 insertion(+) (limited to 'mesonbuild/utils/universal.py') diff --git a/mesonbuild/utils/universal.py b/mesonbuild/utils/universal.py index c96930c..e06eaaa 100644 --- a/mesonbuild/utils/universal.py +++ b/mesonbuild/utils/universal.py @@ -2144,6 +2144,7 @@ _BUILTIN_NAMES = { 'force_fallback_for', 'pkg_config_path', 'cmake_prefix_path', + 'vsenv', } -- cgit v1.1