<div dir="ltr">Thanks for actually tracking this down!  I've been meaning to do it for months, but eventually I just forgot about it...</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 13, 2013 at 8:34 PM, NAKAMURA Takumi <span dir="ltr"><<a href="mailto:geek4civic@gmail.com" target="_blank">geek4civic@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: chapuni<br>
Date: Tue Aug 13 22:34:49 2013<br>
New Revision: 188351<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=188351&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=188351&view=rev</a><br>
Log:<br>
[CMake] add_llvm_library: Specify explicit suffix .imp to import library to avoid a warning between profile_rt-static and profile_rt-shared with lib/profile_rt.lib.<br>
<br>
FIXME: It seems MS version of profile_rt.dll doesn't contain any export symbols.<br>
<br>
Modified:<br>
    llvm/trunk/cmake/modules/AddLLVM.cmake<br>
<br>
Modified: llvm/trunk/cmake/modules/AddLLVM.cmake<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/AddLLVM.cmake?rev=188351&r1=188350&r2=188351&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/AddLLVM.cmake?rev=188351&r1=188350&r2=188351&view=diff</a><br>

==============================================================================<br>
--- llvm/trunk/cmake/modules/AddLLVM.cmake (original)<br>
+++ llvm/trunk/cmake/modules/AddLLVM.cmake Tue Aug 13 22:34:49 2013<br>
@@ -12,6 +12,11 @@ macro(add_llvm_library name)<br>
<br>
   if( BUILD_SHARED_LIBS )<br>
     llvm_config( ${name} ${LLVM_LINK_COMPONENTS} )<br>
+    if (MSVC)<br>
+      set_target_properties(${name}<br>
+        PROPERTIES<br>
+        IMPORT_SUFFIX ".imp")<br>
+    endif ()<br>
   endif()<br>
<br>
   # Ensure that the system libraries always comes last on the<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div>