VS 14: Add flag map for -std= to CppLanguageStandard tag in project files

This is used by the Clang/C2 toolset.
This commit is contained in:
Mariusz Pluciński 2016-02-20 15:22:26 +01:00 committed by Brad King
parent 0a785eb4f4
commit 445d4d4bf4
1 changed files with 18 additions and 0 deletions

View File

@ -174,6 +174,24 @@ static cmVS7FlagTable cmVS14CLFlagTable[] =
{"CompileAsManaged", "clr:oldSyntax", {"CompileAsManaged", "clr:oldSyntax",
"Common Language RunTime Support, Old Syntax", "OldSyntax", 0}, "Common Language RunTime Support, Old Syntax", "OldSyntax", 0},
{"CppLanguageStandard", "",
"Default", "Default", 0},
{"CppLanguageStandard", "std=c++98",
"C++03", "c++98", 0},
{"CppLanguageStandard", "std=c++11",
"C++11", "c++11", 0},
{"CppLanguageStandard", "std=c++1y",
"C++14", "c++1y", 0 },
{"CppLanguageStandard", "std=c++14",
"C++14", "c++1y", 0 },
{"CppLanguageStandard", "std=gnu++98",
"C++03 (GNU Dialect)", "gnu++98", 0},
{"CppLanguageStandard", "std=gnu++11",
"C++11 (GNU Dialect)", "gnu++11", 0},
{"CppLanguageStandard", "std=gnu++1y",
"C++14 (GNU Dialect)", "gnu++1y", 0},
{"CppLanguageStandard", "std=gnu++14",
"C++14 (GNU Dialect)", "gnu++1y", 0},
//Bool Properties //Bool Properties
{"CompileAsWinRT", "ZW", "", "true", 0}, {"CompileAsWinRT", "ZW", "", "true", 0},