D7040: OutputFilteringStrategies: Parse cmake output for project directory and use it in OutputView
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.
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.
To: akellermann, kfunk
Cc: kdevelop-devel, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KDevelop-devel