Finding cross-references in kdevplatform
Andreas Pakulat
apaku at gmx.de
Fri Dec 10 21:06:24 UTC 2010
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.
More information about the KDevelop-devel
mailing list