Add /FS to cpp.platformC(xx)Flags for MSVC2013

Task-number: QTCREATORBUG-11025
Change-Id: Ibdfebc601a38535aae353a0ed2aedac920d5b192
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
Yuchen Deng
2014-04-18 10:00:52 +08:00
committed by Joerg Bornemann
parent c922887315
commit 3cb00e1afe
2 changed files with 7 additions and 0 deletions

View File

@@ -118,6 +118,11 @@ QVariantMap DefaultPropertyProvider::properties(const ProjectExplorer::Kit *k, c
Utils::FileName cxx = tc->compilerCommand();
data.insert(QLatin1String(CPP_TOOLCHAINPATH), cxx.toFileInfo().absolutePath());
data.insert(QLatin1String(CPP_COMPILERNAME), cxx.toFileInfo().fileName());
if (targetAbi.osFlavor() == ProjectExplorer::Abi::WindowsMsvc2013Flavor) {
const QLatin1String flags("/FS");
data.insert(QLatin1String(CPP_PLATFORMCFLAGS), flags);
data.insert(QLatin1String(CPP_PLATFORMCXXFLAGS), flags);
}
}
return data;
}