List of dependencies from cmake
Allen Winter
winter at kde.org
Wed May 30 13:26:53 UTC 2012
On Wednesday 30 May 2012 9:15:15 AM 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.
>
Do you want a script?
I have a perl script you can run at the top of a project (well it was designed for modules)
that searches in the CMakeLists.txt's
or will the wiki pages I started a few weeks ago work for you?
http://techbase.kde.org/Getting_Started/Build/Requirements
More information about the Kde-buildsystem
mailing list