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

Matthias Wieding-Drewes m at wieding-drewes.de
Thu Nov 17 11:30:32 EST 2011


Hallo,

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.

It works if (in the reference tab of the dll target) for each subproject
"Use Library Dependency Inputs" is used.

And here comes the question:
Is there a way to instruct the VS 2010 generator to set this setting.

With best regards
Matthias Wieding-Drewes



More information about the CMake mailing list