Review Request 115506: A fix so CMake errors link to the proper file.
Morten Volden
mvolden2 at gmail.com
Thu Feb 6 19:19:46 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
>
> Todd Nowacki wrote:
> 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.
Ah, yes you're quite right.
- Morten
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115506/#review49082
-----------------------------------------------------------
On Feb. 5, 2014, 10:37 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, 10:37 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/20140206/ee6681b4/attachment.html>
More information about the KDevelop-devel
mailing list