D7040: OutputFilteringStrategies: Parse cmake output for project directory and use it in OutputView

Axel Kellermann noreply at phabricator.kde.org
Tue Aug 1 14:28:36 UTC 2017


akellermann created this revision.
akellermann created this object with visibility "All Users".
akellermann added a project: KDevelop.
Restricted Application added a subscriber: kdevelop-devel.

REVISION SUMMARY
  Currently OutputFilteringStrategies makes the assumption that the cmake build directory is always one level underneath the project directory. If that assumption isn't met, clicking on a cmake error line does not open the corresponding file (see bug https://bugs.kde.org/show_bug.cgi?id=321982).
  
  The easiest solution to this problem is to add another filter that reads the absolute path to the project directory from the cmake output. The filter uses application type "cd" to behave like the other filters that change the build directory.

REPOSITORY
  R33 KDevPlatform

REVISION DETAIL
  https://phabricator.kde.org/D7040

AFFECTED FILES
  outputview/outputfilteringstrategies.cpp

To: akellermann, kfunk
Cc: kdevelop-devel, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170801/c2881092/attachment.html>


More information about the KDevelop-devel mailing list