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

Eric Wing ewmailing at gmail.com
Fri May 23 19:23:12 EDT 2014


My project has lots of 3rd party .dlls. I can build my project just
fine with CMake/Visual Studio. But when I try to debug/run within
Visual Studio, it fails because my 3rd party .dlls are not in the same
directory as where VS generated the .exe.

I know I can manually copy all my .dlls and put them in the generated
directory, but I was hoping there was a more automatic way to do this,
especially since the directory changes when you switch from
debug/release/etc.


On a similar note, what do you do for packaging/installing? In
addition to including the 3rd party dlls, what do you do to include
Microsoft required dll's like msvcr*.dll and msvcp*.dll?

Thanks,
Eric
-- 
Beginning iPhone Games Development
http://playcontrol.net/iphonegamebook/


More information about the CMake mailing list