forked from qt-creator/qt-creator
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:
committed by
Joerg Bornemann
parent
c922887315
commit
3cb00e1afe
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user