David Cole wrote:

> The target property TYPE tells you what the type of the library is:
> 
>   http://cmake.org/cmake/help/cmake-2-8-docs.html#prop_tgt:TYPE
> 
> Use:
> 
>   get_property(type TARGET ${SOME_TARGET} PROPERTY TYPE)
>   message("type='${type}'")
> 
> to retrieve the value of the TYPE property.
> 
>   http://cmake.org/cmake/help/cmake-2-8-docs.html#command:get_property
> 
> 
> HTH,
> David

Just what I was looking for, thanks.

_______________________________________________
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