forked from qt-creator/qt-creator
Make the build parser for custom build steps depend on the toolchain
The API addtition to BuildConfiguration of knowing of the default parser is rather strange, but a necessary evil for this. Reviewed-By: Thorbjorn Task-Nr: QTCREATORBUG-514
This commit is contained in:
@@ -153,6 +153,13 @@ void CMakeBuildConfiguration::setMsvcVersion(const QString &msvcVersion)
|
||||
emit msvcVersionChanged();
|
||||
}
|
||||
|
||||
ProjectExplorer::IOutputParser *CMakeBuildConfiguration::createOutputParser() const
|
||||
{
|
||||
if (m_toolChain)
|
||||
return m_toolChain->outputParser();
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*!
|
||||
\class CMakeBuildConfigurationFactory
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user