diff options
Diffstat (limited to 'src/plugins/projectexplorer/makestep.cpp')
-rw-r--r-- | src/plugins/projectexplorer/makestep.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/plugins/projectexplorer/makestep.cpp b/src/plugins/projectexplorer/makestep.cpp index cd873d5ea75..ec5cafe6626 100644 --- a/src/plugins/projectexplorer/makestep.cpp +++ b/src/plugins/projectexplorer/makestep.cpp @@ -102,13 +102,17 @@ bool MakeStep::init() // That is mostly so that rebuild works on an already clean project setIgnoreReturnValue(isClean()); - setOutputParser(new GnuMakeParser()); - appendOutputParsers(target()->kit()->createOutputParsers()); - outputParser()->addSearchDir(pp->effectiveWorkingDirectory()); - return AbstractProcessStep::init(); } +void MakeStep::setupOutputFormatter(OutputFormatter *formatter) +{ + formatter->addLineParser(new GnuMakeParser()); + formatter->addLineParsers(target()->kit()->createOutputParsers()); + formatter->addSearchDir(processParameters()->effectiveWorkingDirectory()); + AbstractProcessStep::setupOutputFormatter(formatter); +} + void MakeStep::setClean(bool clean) { m_clean = clean; |