[CMake] Best way to combine generated static libraries into a single static library

Ke Gao ke.gao.ut at gmail.com
Thu Sep 20 12:45:09 EDT 2018


Hi,

I have a project which includes many sub-projects. Each sub-project
generates a static library. In the main project, I want to combine the
generated objs, generated static libraries from other sub-projects, and
some other third party static libraries together into a single static
library. Is there an elegant way to do this, or maybe an existing function?

Thank you very much.

-- 
..............................................................................................................................................
Ke Gao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20180920/87ff8029/attachment.html>


More information about the CMake mailing list