[CMake] Lib dependencies discovery
Pascal Fleury
fleury at users.sourceforge.net
Tue Apr 24 19:38:15 EDT 2007
On Wednesday 25 April 2007 01:23:53 Hendrik Sattler wrote:
> Am Mittwoch 25 April 2007 00:20 schrieb Pascal Fleury:
> Create a pkg-config file. Portable and easy to use.
Well, that is what I'd like to do, but I don't know how I can get the info to
put into that pkg-config file. Is there something I overlooked in cmake that
helps with this ?
How do I figure out that mylib.(a|lib) needs, e.g., the ws2_32.lib on Windows
or the sockets.so on linux ? I just found the mylib_LIB_DEPENDS variable in
the cache, but it is in a section that says internal, and it does not seem to
be the portable way to do it.
--paf
--
--paf
More information about the CMake
mailing list