[CMake] Create libtool file

Hendrik Sattler post at hendrik-sattler.de
Sun Aug 16 12:05:56 EDT 2009


Am Dienstag 11 August 2009 19:26:57 schrieb Pau Garcia i Quiles:
> I'm converting to CMake a library (
> http://sourceforge.net/projects/wvware/ ) which creates a libtool.
> While in this, I'm improving the CREATE_LIBTOOL_FILE macro (
> http://www.cmake.org/Wiki/CMakeMacroLibtoolFile ). The next thing I'd
> like to add is autogeneration of the LT_DEPENDENCY_LIBS variable.
> After all, it's essentially the same information we pass to
> TARGET_LINK_LIBRARIES.

The question is: why do you want libtool files? Most Linux distributions 
already remove them from their binary packages as they tend to create useless 
shared library dependencies. And since you cannot rely on the fact of them 
being there...

HS



More information about the CMake mailing list