[CMake] shared and static library

Xavier Delannoy xavier.delannoy at netasq.com
Thu Feb 2 09:03:09 EST 2006


hi all, 

Is there any proper way to build a shared AND static lib with cmake ?

( ADD_LIBRARY(libname SHARED sources ..) && ADD_LIBRARY(libname STATIC sources ..) doesn't work)

Do I need to have 2 directory, one for the shared and one for the static ?

best regards,

-- 
Xavier Delannoy


More information about the CMake mailing list