Hi,<br><br><div class="gmail_quote">On Tue, May 15, 2012 at 10:39 PM, Totte Karlsson <span dir="ltr">&lt;<a href="mailto:totte@dunescientific.com" target="_blank">totte@dunescientific.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
I have a project that depends on 3rd party dll&#39;s (libxml2).<br>
<br>
Is there a &#39;best practice&#39; to deal with associated files, .h, .lib .dll of such within a CMake project?<br>
<br>
My library needs to link to the 3rd party lib, and needs its dll for execution (obviously), so I feel the need for copying this DLL to my libs &#39;install/bin&#39; folder, so that any of my executables can run, without getting a &#39;...dll not found&#39;.<br>
</blockquote><div><br></div><div>For bundling of 3rd party stuff, you should look at the BundleUtilities module. Unlike what it name might suggest it works cross-platform, providing a suite of utility functions to assemble a standalone directory for your application and all its dependencies.</div>
<div><br></div><div>Andreas</div></div>