Review Request: Fix MakeOutput items for cmake builds with relative paths

Manuel Massing m.massing at warped-space.de
Fri Feb 25 17:35:37 UTC 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/100745/
-----------------------------------------------------------

Review request for KDevelop.


Summary
-------

Fixes MakeOutput items for cmake builds which use relative paths 
(i.e. cmake projects with CMAKE_USE_RELATIVE_PATHS set to on).

Previously, errors generated by source files with relativ paths
were not clickable because MakeOutputModel does not know about
the directories they are built in.

Because cmake is not verbose enough to indicate directory changes,
observes where object files are being built and use these paths
as search path for urlToFile.


Diffs
-----

  projectbuilders/makebuilder/makeoutputmodel.cpp 09bb72e 
  projectbuilders/makebuilder/outputfilters.cpp 3b6b806 

Diff: http://git.reviewboard.kde.org/r/100745/diff


Testing
-------

Tested on cmake project with SET(CMAKE_USE_RELATIVE_PATHS ON).


Thanks,

Manuel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20110225/50e2f1ea/attachment.html>


More information about the KDevelop-devel mailing list