[yocto] [eclipse][PATCH 0/4] Add cmake error to build failure dialog

Timo Mueller mail at timomueller.eu
Thu May 22 02:58:18 PDT 2014


From: Timo Mueller <timo.mueller at bmw-carit.de>

Hi,

when problems occured during configuring the project with CMake we
showed a messge dialog with a generic 'build failed' method. In
parallel the reason for the error was captured in the configuration
console. But as the dialog did not contain any note on the existence
of this console the user might end up with no hint on what went wrong
and how he can fix it.

To help the user fix syntax errors or other errors with CMake the
error is captured and added to the message dialog. While complete
CMake log is still available in the configuration console, the dialog
now contains all information on what went wrong, e.g.
CMake Error at CMakeLists.txt:8 (include_directoriesBOGUS):
  Unknown CMake command "include_directoriesBOGUS".

01..03: Enable logging the stderr from CMake to a console while
capturing it in a string
04: Add the reported CMake error to the configuration error dialog

Best regards,
Timo

Timo Mueller (4):
  plugins/cmake: Allow multiple targets when logging process output
  plugins/cmake: Enable separate capturing of cmake stderr
  plugins/cmake: Use generic output stream
  plugins/cmake: Add cmake error message to error dialog

 .../managedbuilder/YoctoCMakeMessages.properties   |  2 +-
 .../managedbuilder/job/ExecuteConfigureJob.java    | 12 +++++---
 .../cmake/managedbuilder/util/SystemProcess.java   | 34 ++++++++++++++++++----
 3 files changed, 38 insertions(+), 10 deletions(-)

-- 
1.9.0




More information about the yocto mailing list