summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorMariusz Pluciński <mplucinski@mplucinski.com>2016-02-20 14:22:26 (GMT)
committerBrad King <brad.king@kitware.com>2016-03-10 14:11:40 (GMT)
commit445d4d4bf4867fb5554caede704bc99de6269038 (patch)
treede5ec6bbbed12920a2f42e876ad5429b5ec0c122 /Source
parent0a785eb4f488447fa94eb77fa2edbeaabba70170 (diff)
downloadCMake-445d4d4bf4867fb5554caede704bc99de6269038.zip
CMake-445d4d4bf4867fb5554caede704bc99de6269038.tar.gz
CMake-445d4d4bf4867fb5554caede704bc99de6269038.tar.bz2
VS 14: Add flag map for -std= to CppLanguageStandard tag in project files
This is used by the Clang/C2 toolset.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmVS14CLFlagTable.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/Source/cmVS14CLFlagTable.h b/Source/cmVS14CLFlagTable.h
index 1c9cf7c..173f624 100644
--- a/Source/cmVS14CLFlagTable.h
+++ b/Source/cmVS14CLFlagTable.h
@@ -174,6 +174,24 @@ static cmVS7FlagTable cmVS14CLFlagTable[] =
{"CompileAsManaged", "clr:oldSyntax",
"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
{"CompileAsWinRT", "ZW", "", "true", 0},