[cmake-developers] Stripping import libraries under Windows ?

Brad King brad.king at kitware.com
Thu Jun 27 16:29:55 EDT 2013


On 06/27/2013 03:30 PM, Alexander Neundorf wrote:
> -  if(this->Target->GetType() == cmTarget::STATIC_LIBRARY)
> +  if(this->Target->GetType() == cmTarget::STATIC_LIBRARY || this-ImportLibrary)
> 
> This looks reasonable to me, still I'd like to get some advice whether this is 
> the right thing to do, also e.g. for MS compilers etc.

Yes, it looks right to me.

-Brad



More information about the cmake-developers mailing list