[CMake] How to run shell command in CMakeLists.txt

Kiran Gopal Patil patilkg at gmail.com
Mon Mar 29 08:11:00 EDT 2010


Hi All,

I have created a number of libs in LIBRARY_OUTPUT_DIR by compiling the code
using cmake.
Now I want to create a one static lib from all these libs.

Please guide me how to create one static lib from multiple static libs.

Can I use ar -x libname and then again make ar from the *.o files?
Is there any other way?
-- 
Thanks & Regards,
Kiran Patil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100329/d28a7795/attachment.htm>


More information about the CMake mailing list