Commit Graph

8 Commits

Author SHA1 Message Date
Tobias Hunger
62e4c92f26 Stop build on fatal make errors
... ignoring a error code of 0 from Make. This is necessary to
detect build failures on symbian

Do not show errors when ignoring the return value of a BuildStep
either.

Task-number: QTCREATORBUG-985
Reviewed-by: dt
2010-04-09 18:04:23 +02:00
Tobias Hunger
f7335948bb Make gnumake parser less noisy
* Do not report make warnings at all.
 * Do only report the first make error.
 * Do not report any make errors after a compile error.
 * Handle more variants of mingw makes
 * Actually parse stderr for errors
2010-04-07 16:06:31 +02:00
Tobias Hunger
204bf0bd91 Do not warn on make complaining about "Nothing to be done" 2010-03-15 18:04:57 +01:00
Tobias Hunger
9ccd2f15e0 Report errors in Makefiles in gnumakeparser
* Report errors in Makefiles
 * Skip all but the first fatal error
2010-03-15 12:28:06 +01:00
Tobias Hunger
d9e573fbca Add unit tests for gnumake parser
* Improve parser to recognize gnu make errors.
2010-03-15 12:28:05 +01:00
dt
7c11c4d8b0 Move TaskWindow::Task out of the nesting to ProjectExplorer::
Since otherwise we can't forward declare it.
2010-03-12 15:00:15 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
Tobias Hunger
ec025c6dbf Rework Build Parser handling
* Rework IBuildParser:
    * Remove name() method.
    * Remove enterDirectory and leaveDirectory signals.
    * Allow chaining of parsers.
 * Rename IBuildParser to IOutputParser.
 * Implement GnuMakeParser.
    * Remove entering/leaving directory related code from all other parsers
    * Move filename fixup heuristic based on entering/leaving directory
      massages from gnumake here from AbstractMakeStep.
 * Add outputParser method to ToolChain: This removes the need to map
   toolchains to BuildParser names in the BuildSteps.
 * Enhance AbstractProcessStep to accept a IOutputParser to parse its output.
 * Remove AbstractMakeStep.
 * Set the appropriate Parsers in all classes deriving from AbstractProcessStep
   and append the ToolChain's parser to the parser chain.
 * Remove BuildParserFactories: There is no more need for them.
 * Remove constants used to identify the BuildParsers.
 * Clean up some names:
    * Replace stdOut with stdOutput.
    * Replace addToTaskWindow with addTask and addToOutputWindow with
      addOutput. Do this wherever it is not yet clear that this will end up
      in the Task/Output window.

Reviewed-by: dt
2009-12-09 18:39:03 +01:00