[CMake] creating static library with references to other .lib files

Jesper Eskilson jesper at eskilson.se
Thu Jun 7 15:57:23 EDT 2007


2007/6/7, Brandon Van Every <bvanevery at gmail.com>:
>
> On 6/7/07, Jesper Eskilson <jesper at eskilson.se> wrote:
> > Hi all,
> >
> > I would like to be able to create a static library on Windows which
> > includes an import library to a DLL, so that users of the static
> > library do not need to specify the import library.
>
> By chance, is your library a C library that is commonly available to
> the public, i.e. is typically present in Linux or Cygwin distributions
> and whatnot?  If so, you have a problem that will likely sidestep the
> issue / render it moot.  Regardless of the choice of linkage, you
> could suffer a namespace collision between the version you're
> maintaining in your own code, and the publically available version.
> Segfaults etc.  Here's the issue in our bug tracker that we haven't
> resolved yet, it gives a lot of detail as to what kinds of things can
> go wrong.  http://trac.callcc.org/ticket/215


I think we have all our bases covered, but thanks anyway.

-- 
/Jesper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070607/3cf1f573/attachment.html


More information about the CMake mailing list