[CMake] Convenience lib vs static library

Andreas Pakulat apaku at gmx.de
Sun Nov 23 04:33:00 EST 2008


On 23.11.08 11:24:23, Ioan Calin Borcoman wrote:
> Would it be possible to add support for libtool in a cmake module? I
> understand that this would be against cmake's policy of not depending
> on external apps, but it could be a transient solution until full
> fledged support for convenience libs is added into cmake.

I don't know libtool that well, but I suspect that just replacing ld ..
with libtool ... won't work. 

And it doesn't solve the portability issue, for one libtool itself is not
portable to all platforms and second is that the problem of linking a
static lib into a shared lib is not solveable by libtool. Its only
solveable by changing how the library format of the problematic platforms
work.

Andreas

-- 
Courage is your greatest present need.


More information about the CMake mailing list