[CMake] What do Visual Studio users do so they can run/debug their programs when using 3rd party .dlls?

Dan Kegel dank at kegel.com
Fri May 23 19:43:28 EDT 2014


On Fri, May 23, 2014 at 4:38 PM, Eric Wing <ewmailing at gmail.com> wrote:
> On 5/23/14, Dan Kegel <dank at kegel.com> wrote:
>> You can add the directory containing the 3rd party DLLs to the global
>> PATH environment variable, I bet.
>
> ... I just want a
> work-out-of-the-box solution with CMake doing local copies.

So... copy the DLLs to the same folder as your test app?

>> http://msdn.microsoft.com/en-us/library/ms235299.aspx
> I've read that. This is my goal which I want to do with CMake.
> "you can directly install redistributable Visual C++ DLLs in the
> application local folder"

http://msdn.microsoft.com/en-us/library/dd293565.aspx is a bit more explicit.

Life is easier now that they've gotten rid of SxS install for Visual C++ DLLs.
- Dan


More information about the CMake mailing list