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:
dt
2010-07-07 16:32:23 +02:00
parent 008d8cb114
commit 870da8e7e3
8 changed files with 39 additions and 1 deletions

View File

@@ -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
*/