[CMake] How to create a static library out of other static libraries in CMAKE ?

Tyler Roscoe tyler at cryptio.net
Sun Jun 14 20:44:05 EDT 2009


On Sun, Jun 14, 2009 at 03:40:56PM -0700, Xiangyun Kong wrote:
> Is there a way in CMAKE to create a static library out of 
> existing static libraries and object files ?

Does something like this work?

add_library (myLib STATIC ${some_libraries} ${some_object_files})


tyler


More information about the CMake mailing list