[CMake] Build multiple lib
Michael Wild
themiwi at gmail.com
Wed Sep 22 11:32:58 EDT 2010
On 22. Sep, 2010, at 12:48 , Andrea Galeazzi wrote:
> Hi everybody,
> I've got a static lib project in vc6 as follow
> lib1
> lib2
> ......
> libN
> MainLib
>
> The MainLib doesn't actually have any source but it depends form all the other projects (lib1,.....,libN) so it builds a static lib which contains all the ones.
> Now my problems is how to write a CMakeLists in order to reproduce both the same build and the same structure of solution in VS 2010 as the original one.
> Does anybody have any ideas?
> Cheers
Do you ever *need* lib1..libN except for assembling MainLib? If not, just drop them, they're useless.
Michael
--
There is always a well-known solution to every human problem -- neat, plausible, and wrong.
H. L. Mencken
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100922/f5a55464/attachment.pgp>
More information about the CMake
mailing list