On 05/25/2011 04:44 PM, Rick Yorgason wrote: > But now you install the program and try to run it. Crash! No DLLs > found, because on Windows it's standard to install the DLLs into the > same directory as the .exe. [snip] > our only option is to copy the DLLs into the build dirs.
We typically use launcher scripts/tools that add the right thing to the PATH and then invoke the real program. This is often done on UNIX systems too because an application that comes as a binary in a tarball and uses shared libraries needs a launcher to set LD_LIBRARY_PATH before running the real binary. Otherwise the tree is not relocatable. -Brad _______________________________________________ cmake-developers mailing list [email protected] http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
