[CMake] Building both SHARED and STATIC libs

Eric Noulard eric.noulard at gmail.com
Thu Jan 25 05:34:13 EST 2007


Is there a way to build both shared AND static
in a single build or should I run 2 builds
one with
BUILD_SHARED_LIBS ON
and another one with
BUILD_SHARED_LIBS OFF

I would something like:
BUILD_SHARED_LIBS BOTH  :))

Using this scheme we can deliver both static and shared libs
to our users.

-- 
Erk


More information about the CMake mailing list