Add C++11, C++14 flags for GCC & Clang

This commit is contained in:
tdijck 2015-03-25 10:28:00 -07:00 committed by Tom van Dijck
parent 878d108367
commit cac5baecbc
2 changed files with 5 additions and 1 deletions

View File

@ -413,6 +413,8 @@
"Unsafe", -- DEPRECATED
"WinMain",
"WPF",
"C++11",
"C++14",
},
aliases = {
FatalWarnings = { "FatalWarnings", "FatalCompileWarnings", "FatalLinkWarnings" },

View File

@ -108,7 +108,9 @@
flags = {
NoExceptions = "-fno-exceptions",
NoRTTI = "-fno-rtti",
NoBufferSecurityCheck = "-fno-stack-protector"
NoBufferSecurityCheck = "-fno-stack-protector",
["C++11"] = "-std=c++11",
["C++14"] = "-std=c++14",
}
}