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

Original header commit v3.6.0-rc1~279^2~8

This is used by the Clang/C2 toolset.
This commit is contained in:
Stephan Szabo 2018-11-26 09:09:23 -08:00
parent 21d26a9ecd
commit 36b7fc7db6
2 changed files with 126 additions and 0 deletions

View File

@ -1117,5 +1117,68 @@
"UserValue",
"UserRequired"
]
},
{
"name": "CppLanguageStandard",
"switch": "",
"comment": "Default",
"value": "Default",
"flags": []
},
{
"name": "CppLanguageStandard",
"switch": "std=c++98",
"comment": "C++03",
"value": "c++98",
"flags": []
},
{
"name": "CppLanguageStandard",
"switch": "std=c++11",
"comment": "C++11",
"value": "c++11",
"flags": []
},
{
"name": "CppLanguageStandard",
"switch": "std=c++1y",
"comment": "C++14",
"value": "c++1y",
"flags": []
},
{
"name": "CppLanguageStandard",
"switch": "std=c++14",
"comment": "C++14",
"value": "c++1y",
"flags": []
},
{
"name": "CppLanguageStandard",
"switch": "std=gnu++98",
"comment": "C++03 (GNU Dialect)",
"value": "gnu++98",
"flags": []
},
{
"name": "CppLanguageStandard",
"switch": "std=gnu++11",
"comment": "C++11 (GNU Dialect)",
"value": "gnu++11",
"flags": []
},
{
"name": "CppLanguageStandard",
"switch": "std=gnu++1y",
"comment": "C++14 (GNU Dialect)",
"value": "gnu++1y",
"flags": []
},
{
"name": "CppLanguageStandard",
"switch": "std=gnu++14",
"comment": "C++14 (GNU Dialect)",
"value": "gnu++1y",
"flags": []
}
]

View File

@ -1187,5 +1187,68 @@
"UserValue",
"UserRequired"
]
},
{
"name": "CppLanguageStandard",
"switch": "",
"comment": "Default",
"value": "Default",
"flags": []
},
{
"name": "CppLanguageStandard",
"switch": "std=c++98",
"comment": "C++03",
"value": "c++98",
"flags": []
},
{
"name": "CppLanguageStandard",
"switch": "std=c++11",
"comment": "C++11",
"value": "c++11",
"flags": []
},
{
"name": "CppLanguageStandard",
"switch": "std=c++1y",
"comment": "C++14",
"value": "c++1y",
"flags": []
},
{
"name": "CppLanguageStandard",
"switch": "std=c++14",
"comment": "C++14",
"value": "c++1y",
"flags": []
},
{
"name": "CppLanguageStandard",
"switch": "std=gnu++98",
"comment": "C++03 (GNU Dialect)",
"value": "gnu++98",
"flags": []
},
{
"name": "CppLanguageStandard",
"switch": "std=gnu++11",
"comment": "C++11 (GNU Dialect)",
"value": "gnu++11",
"flags": []
},
{
"name": "CppLanguageStandard",
"switch": "std=gnu++1y",
"comment": "C++14 (GNU Dialect)",
"value": "gnu++1y",
"flags": []
},
{
"name": "CppLanguageStandard",
"switch": "std=gnu++14",
"comment": "C++14 (GNU Dialect)",
"value": "gnu++1y",
"flags": []
}
]