Assuming you mean a library that you are creating the default is
static. If you want a dynamic library then use the "SHARED" keyword:
add_library (mylib SHARED libsource.cpp)
_________________________________________________
| Mike Jackson - Principal Software Engineer |
| BlueQuartz Software |
| [EMAIL PROTECTED] |
| www.bluequartz.net |
---------------------------------------------------
On Sep 22, 2008, at 5:03 PM, Aleksander Demko wrote:
How do I test if a library target is static or shared? I've checked
the target properties and commands and nothing sticks out.
Thanks!
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake