[cmake-developers] Creating IMPORTED targets for both SHARED and STATIC libraries

Stephen Kelly steveire at gmail.com
Mon Jun 25 11:02:19 EDT 2012


David Cole wrote:

> Otherwise,
> 
>   target_link_libraries(tgt target_to_link_to)
> 
> would be ambiguous if there were two or more "target_to_link_to" targets.
> 

Yes. My understanding is that you can have a shared or static libc and a few 
others, so the distinction is between system libraries and userspace 
libraries and somehow the correct one is chosen?

Thanks,

Steve.







More information about the cmake-developers mailing list