[CMake] static & shared library
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the CMake