[Cmake] Linking libraries to make a library...

Nick Ton nton at photon . com
Thu, 24 Jul 2003 11:32:49 -0400


Hi,

What command should I use to make a static library from
several other individual libraries. For example:

./MyProject
-->/lib_1
-->/lib_2
-->/lib_3
-->/app_src

I want to link lib_1, lib_2, lib_3 into mylib.a. Currently,
I have CMakeLists.txt to make each individual lib's, but I don't
know how to link all the libs into one big static lib. Could someone
give a suggestion?

Thanks,
Nick