[CMake] Building both SHARED and STATIC libs

Brandon J. Van Every bvanevery at gmail.com
Thu Jan 25 13:44:32 EST 2007


Eric Noulard wrote:
> Is there a way to build both shared AND static
> in a single build 


Yes.  However, you'll probably need to compile them in separate 
directories to prevent collisions between object files.  The Chicken 
CMake build http://www.call-with-current-continuation.org/index.html has 
non-trivial examples and notes on what remedies are needed.


Cheers,
Brandon Van Every



More information about the CMake mailing list