[CMake] problems running a windows build exectuable

Dominik Szczerba dominik at itis.ethz.ch
Sat Jul 25 18:53:16 EDT 2009


When debugging a MSVC target I get a complaint about missing DLL's. Of
course if I 1) copy all required DLL's to the system folder, or 2) copy
the exe along with all the DLL's to one separate folder - all works. But
it's an obvious hassle. How can I run my executables in-place like on
linux where the lib paths are known (thanks to the linker flags)? Have I
forgotten anything in the cmake input?

With regards, Dominik



More information about the CMake mailing list