summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/buildstep.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/projectexplorer/buildstep.cpp')
-rw-r--r--src/plugins/projectexplorer/buildstep.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/buildstep.cpp b/src/plugins/projectexplorer/buildstep.cpp
index ca64125d3a..4a56d805c4 100644
--- a/src/plugins/projectexplorer/buildstep.cpp
+++ b/src/plugins/projectexplorer/buildstep.cpp
@@ -27,9 +27,11 @@
#include "buildconfiguration.h"
#include "buildsteplist.h"
+#include "customparser.h"
#include "deployconfiguration.h"
#include "kitinformation.h"
#include "project.h"
+#include "projectexplorer.h"
#include "projectexplorerconstants.h"
#include "target.h"
@@ -263,6 +265,10 @@ QString BuildStep::fallbackWorkingDirectory() const
void BuildStep::setupOutputFormatter(OutputFormatter *formatter)
{
+ for (const Core::Id id : buildConfiguration()->customParsers()) {
+ if (Internal::CustomParser * const parser = Internal::CustomParser::createFromId(id))
+ formatter->addLineParser(parser);
+ }
Utils::FileInProjectFinder fileFinder;
fileFinder.setProjectDirectory(project()->projectDirectory());
fileFinder.setProjectFiles(project()->files(Project::AllFiles));