From 322f6d5d5233967522f3e55c623a8e7d7281e024 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Wed, 8 May 2024 06:52:59 +0200 Subject: [PATCH] feat: support language standard keys in msvs_settings (#252) Refs: https://github.com/nodejs/node/pull/52870 --- pylib/gyp/MSVSSettings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pylib/gyp/MSVSSettings.py b/pylib/gyp/MSVSSettings.py index 93633dbc..ac87f572 100644 --- a/pylib/gyp/MSVSSettings.py +++ b/pylib/gyp/MSVSSettings.py @@ -793,6 +793,8 @@ def _ValidateSettings(validators, settings, stderr): _compile, "CompileAsManaged", _Enumeration([], new=["false", "true"]) ) # /clr _MSBuildOnly(_compile, "CreateHotpatchableImage", _boolean) # /hotpatch +_MSBuildOnly(_compile, "LanguageStandard", _string) +_MSBuildOnly(_compile, "LanguageStandard_C", _string) _MSBuildOnly(_compile, "MultiProcessorCompilation", _boolean) # /MP _MSBuildOnly(_compile, "PreprocessOutputPath", _string) # /Fi _MSBuildOnly(_compile, "ProcessorNumber", _integer) # the number of processors