Hi Andreas,<br><br>I wrote a Ruby script to solve your problem/question.<br>Though the code isn't really great the result is.<br><br>I've attached the result of the script as an attachment. Just extract the html file and have a look.<br>
<br>With kind regards,<br>Jonathan<br><br><div class="gmail_quote">On Fri, Dec 10, 2010 at 10:06 PM, Andreas Pakulat <span dir="ltr"><<a href="mailto:apaku@gmx.de">apaku@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
<br>
I just pushed a change to kdevplatform/shell to extend the link<br>
interface of the library as it was missing certain libs there. Basically<br>
the idea is that a library needs to list all its dependencies in the<br>
link-interfaces which show up in their public headers. So if project.h<br>
in shell/ includes a header from the project/ library it, then the shell<br>
library needs to mention kdevplatformproject in its link-interface.<br>
<br>
That way when you use the shell lib's public interface you don't have to<br>
care about these things manually.<br>
<br>
At the same time of course you don't want to list too many libraries<br>
there so that you don't have an exploding list of dependencies which<br>
make linking slower and dependency-handling for packagers more<br>
complicated.<br>
<br>
Long story short: Can someone think of an easy way to search through a<br>
list of headers and find all include's that are not in the same<br>
directory or subdirs?<br>
<br>
Andreas<br>
<br>
--<br>
Your temporary financial embarrassment will be relieved in a surprising manner.<br>
<font color="#888888"><br>
--<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kdevelop.org">KDevelop-devel@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel" target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a><br>
</font></blockquote></div><br>