>From the help for the INSTALL command:&nbsp;&nbsp;&nbsp; (cmake --help-command INSTALL)<br><br>&nbsp; &nbsp; For DLL platforms the DLL part of a shared library is treated as a<br>&nbsp; &nbsp; runtime target and the corresponding import library is treated as an
<br>&nbsp; &nbsp; archive target.&nbsp; All Windows-based systems including Cygwin are DLL<br>&nbsp;&nbsp;&nbsp; platforms.<br><br>The dll part of the shared library will be installed in the RUNTIME DESTINATION. The lib part will be installed in the ARCHIVE DESTINATION.
<br><br><br><div><span class="gmail_quote">On 11/16/07, <b class="gmail_sendername">Stephen Collyer</b> &lt;<a href="mailto:scollyer@netspinner.co.uk">scollyer@netspinner.co.uk</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have a trivial library that I&#39;m building with a SHARED attribute<br>and I&#39;m installing it into a lib directory with a cmake list file thus:<br><br>ADD_LIBRARY(Test SHARED Test.cpp)<br><br>INSTALL(TARGETS Test LIBRARY DESTINATION lib)
<br><br>I&#39;ve managed to build this into a .dll under Win32 finally, but<br>the PACKAGE target, run from VS, only packages up the .lib file,<br>not the .dll.<br><br>Anyone know what I&#39;ve done wrong ?<br><br>--<br>Regards
<br><br>Steve Collyer<br>Netspinner Ltd<br>_______________________________________________<br>CMake mailing list<br><a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br><a href="http://www.cmake.org/mailman/listinfo/cmake">
http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br>