Finding cross-references in kdevplatform

Jonathan Maasland dreamcatalyst at gmail.com
Mon Dec 13 20:56:48 UTC 2010


Hi Andreas,

I wrote a Ruby script to solve your problem/question.
Though the code isn't really great the result is.

I've attached the result of the script as an attachment. Just extract the
html file and have a look.

With kind regards,
Jonathan

On Fri, Dec 10, 2010 at 10:06 PM, Andreas Pakulat <apaku at gmx.de> wrote:

> Hi,
>
> I just pushed a change to kdevplatform/shell  to extend the link
> interface of the library as it was missing certain libs there. Basically
> the idea is that a library needs to list all its dependencies in the
> link-interfaces which show up in their public headers. So if project.h
> in shell/ includes a header from the project/ library it, then the shell
> library needs to mention kdevplatformproject in its link-interface.
>
> That way when you use the shell lib's public interface you don't have to
> care about these things manually.
>
> At the same time of course you don't want to list too many libraries
> there so that you don't have an exploding list of dependencies which
> make linking slower and dependency-handling for packagers more
> complicated.
>
> Long story short: Can someone think of an easy way to search through a
> list of headers and find all include's that are not in the same
> directory or subdirs?
>
> Andreas
>
> --
> Your temporary financial embarrassment will be relieved in a surprising
> manner.
>
> --
> KDevelop-devel mailing list
> KDevelop-devel at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20101213/2f333d25/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdevplatform_project_deps.tar.bz2
Type: application/x-bzip2
Size: 6736 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20101213/2f333d25/attachment.bin>


More information about the KDevelop-devel mailing list