[CMake] static & shared library
Doug Henry
brilligent at gmail.com
Wed Aug 3 07:37:17 EDT 2005
is it possible to build a static and shared library (without re-running
cmake) for the same target? Something like:
ADD_LIBRARY(target STATIC ...)
ADD_LIBRARY(target SHARED ...)
cmake doesn't allow add_library twice for the same target, so it sort of
makes sense that the above doesn't work, even though they create different
files. Any info appreciated.
-doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20050803/80970761/attachment.htm
More information about the CMake
mailing list