CMakePM: Allow usage of custom output parsers for CMake output

Fixes: QTCREATORBUG-29992
Change-Id: Ia84871cc963263c34054d17742556b38a1f1934e
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Cristian Adam
2023-12-06 15:41:02 +01:00
parent d5b3366d55
commit 6846579266
3 changed files with 31 additions and 1 deletions

View File

@@ -110,6 +110,7 @@ void CMakeProcess::run(const BuildDirParameters &parameters, const QStringList &
const auto parser = new CMakeParser;
parser->setSourceDirectory(parameters.sourceDirectory);
m_parser.addLineParser(parser);
m_parser.addLineParsers(parameters.outputParsers());
// Always use the sourceDir: If we are triggered because the build directory is getting deleted
// then we are racing against CMakeCache.txt also getting deleted.