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

Jesper Eskilson jesper at eskilson.se
Tue Jun 12 09:05:16 EDT 2007


2007/6/7, Jesper Eskilson <jesper at eskilson.se>:
>
>
>
> 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.
>

I'm still interested in a solution to my original problem, though.

-- 
/Jesper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070612/fdfb3bd2/attachment-0001.html


More information about the CMake mailing list