Am Freitag 17 April 2009 20:13:40 schrieb Shaun Cummins:
> Thanks, that solves one problem. I still haven't found a way to create
> both shared and static libraries by only compiling the source code
> once (on Linux). I can generate both types of libraries in one make
> command but each source file is compiled twice.
>
> Does anyone know how to do this?

You cannot as one has is compile as PIC and one as non-PIC.

HS

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to