[CMake] Visual Studio 2010 generator: Linking static libraries to one dll problem (Use Library Dependency Inputs)

Mateusz Łoskot mateusz at loskot.net
Thu Nov 17 11:52:00 EST 2011


On 17 November 2011 16:30, Matthias Wieding-Drewes <m at wieding-drewes.de> wrote:
>
> I'am currently in the process of converting a Visual Studio 2010 project
> to CMake. There are three (sub) projects each of which results in a
> staticaly linked library. This libraries are then combined into a
> single .dll file.
>
> Well actually that's how it should be (and is set up in CMake).
>
> The .dll does not contain any symbols since VS 2010 does not realy read
> the static libraries.

You may want to learn it is a bad idea to link N static libraries into
single shared,
especially on Windows:

http://www.cmake.org/pipermail/cmake/2010-November/040869.html

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org


More information about the CMake mailing list