[CMake] Finding library dependencies

Hendrik Sattler post at hendrik-sattler.de
Wed May 23 13:09:37 EDT 2007


Am Mittwoch 23 Mai 2007 16:28 schrieb Pau Garcia i Quiles:
> I am writing a FindQwt5.cmake script. As Qwt 5.x can be dynamically
> linked against Qt3 or Qt4, on Unix I use 'ldd' to find out (on most
> cases) what version of Qt is Qwt linked to.
>
> Is there anything like 'ldd' in Windows which is installed by default
> on the system? I mean, Dependency Walker ships with Visual Studio but
> it is not installed by default and what about Borland users? Is there
> anything like that?

If Qwt does not provide proper stuff for this, it will always be messy.
Maybe you should suggest to Qwt upstream to use pkg-config?

HS


More information about the CMake mailing list