Commit 77b3de44 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Friedemann Kleint

MSVC: Detect C++11

MSVC enables C++11 features by default. Only the version matters

Change-Id: I5c0c27326a876c7755a7608692fb03b8798b5634
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@nokia.com>
parent 777d8093
......@@ -98,7 +98,14 @@ QByteArray AbstractMsvcToolChain::predefinedMacros(const QStringList &cxxflags)
ToolChain::CompilerFlags AbstractMsvcToolChain::compilerFlags(const QStringList &cxxflags) const
{
Q_UNUSED(cxxflags);
return NO_FLAGS;
switch (m_abi.osFlavor()) {
case ProjectExplorer::Abi::WindowsMsvc2010Flavor:
case ProjectExplorer::Abi::WindowsMsvc2012Flavor:
return STD_CXX11;
default:
return NO_FLAGS;
}
}
QList<HeaderPath> AbstractMsvcToolChain::systemHeaderPaths() const
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment