Skip to content

Commit 322f6d5

Browse files
authored
feat: support language standard keys in msvs_settings (#252)
Refs: nodejs/node#52870
1 parent e063e20 commit 322f6d5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pylib/gyp/MSVSSettings.py

+2
Original file line numberDiff line numberDiff line change
@@ -793,6 +793,8 @@ def _ValidateSettings(validators, settings, stderr):
793793
_compile, "CompileAsManaged", _Enumeration([], new=["false", "true"])
794794
) # /clr
795795
_MSBuildOnly(_compile, "CreateHotpatchableImage", _boolean) # /hotpatch
796+
_MSBuildOnly(_compile, "LanguageStandard", _string)
797+
_MSBuildOnly(_compile, "LanguageStandard_C", _string)
796798
_MSBuildOnly(_compile, "MultiProcessorCompilation", _boolean) # /MP
797799
_MSBuildOnly(_compile, "PreprocessOutputPath", _string) # /Fi
798800
_MSBuildOnly(_compile, "ProcessorNumber", _integer) # the number of processors

0 commit comments

Comments
 (0)