Skip to content

Commit 57b44a5

Browse files
committed
HACK: support LanguageStandard and LanguageStandard_C in gyp
1 parent 14a7229 commit 57b44a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/gyp/pylib/gyp/MSVSSettings.py

Lines changed: 2 additions & 0 deletions
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)