Review Request 115506: A fix so CMake errors link to the proper file.

Todd Nowacki tmn at andrew.cmu.edu
Wed Feb 5 22:36:40 UTC 2014



> On Feb. 5, 2014, 10:13 p.m., Morten Volden wrote:
> > outputview/outputfilteringstrategies.cpp, line 291
> > <https://git.reviewboard.kde.org/r/115506/diff/1/?file=242145#file242145line291>
> >
> >     Are we 100% certain that d->m_sourceDir is always found? - If not, this line will be problematic

At line 278, I initialize it to be d->m_buildDir.upUrl(), so if the source directory isn't found through the projects, it defaults to the old behavior.


- Todd


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115506/#review49082
-----------------------------------------------------------


On Feb. 5, 2014, 8:58 p.m., Todd Nowacki wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/115506/
> -----------------------------------------------------------
> 
> (Updated Feb. 5, 2014, 8:58 p.m.)
> 
> 
> Review request for KDevelop.
> 
> 
> Bugs: 321982
>     http://bugs.kde.org/show_bug.cgi?id=321982
> 
> 
> Repository: kdevplatform
> 
> 
> Description
> -------
> 
> Before, it was assumed that the build directory was an immediate child of the source directory.
> 
> Now, we iterate through each project (via the project controller) to find a project with a matching build directory and grab the source directory from that project. 
> 
> 
> Diffs
> -----
> 
>   outputview/CMakeLists.txt b15d640f4486e863dd90caa8560f9c332cc66810 
>   outputview/outputfilteringstrategies.cpp f2e65e115644d04d1bb362d31d30d149a8071d00 
> 
> Diff: https://git.reviewboard.kde.org/r/115506/diff/
> 
> 
> Testing
> -------
> 
> The search works for kdevelop and kdevplatform.
> 
> It should ideally be tested on a project where he build directory is not an immediate child of the source directory, but I did not have such a project at the time of posting this patch. 
> 
> 
> Thanks,
> 
> Todd Nowacki
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20140205/c6047b78/attachment-0001.html>


More information about the KDevelop-devel mailing list