List of dependencies from cmake

Alexander Neundorf neundorf at kde.org
Wed May 30 20:28:51 UTC 2012


On Wednesday 30 May 2012, Torgny Nyblom wrote:
> Hi,
> 
> as build.kde.org is moving to using kde-build-dependencies as a source for
> dependencies instead of the json/"put all else in one place" approach it
> has now I find my self in need of getting a complete list of dependences
> for each project.
> 
> If kde-build-dependencies had been updated (still not used I think) this
> would have been easy but now...
> 
> Can I do some cmake magic and get a list of dependencies for a project?
> 
> The plan is to use the above magic and get a list, that list should then be
> manually cleaned and the result put in kde-build-dependencies to avoid
> having to repeat the process later.

All modules using MacroLogFeature also write a file FindPackageLog.txt in the 
build dir which lists all packages which were searched for using 
find_package()

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20120530/ad636760/attachment-0001.html>


More information about the Kde-buildsystem mailing list