[CMake] a question about archiving libraries

mina adel elecengineer_mina at yahoo.com
Wed Feb 2 22:36:41 EST 2011



Hi All


In my code I use an available libraries (amd btf colamd)

In order to compile those using cmake I use add_custom_command() to "cd" into 
each folder and then run "make" for each library.
Now each library will have a lib file compiled, for example "Lib/libamd.a "

Now, I want to take all the made libraries from the three folders (amd btf 
colamd), and make one big library (libsparse.a).

How I can do this using cmake?


Thanks in advance

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110202/65784435/attachment.htm>


More information about the CMake mailing list