On 20 Aug 2010, at 21:48, Ryan Pavlik wrote:

> You might consider using my CreateLaunchers cmake module that will set up the 
> debugger for you to add whatever directories you like to the PATH (on 
> windows) so that it can find the dynamic libraries.  I haven't tried it in 
> the case that the libraries are built in the same project - you'd probably 
> have to do a little work to figure out where they were going to land to be 
> able to pass that path - but it works great for successfully finding 
> third-party libraries.  (In a pinch, you could build the install target, then 
> run the regular one, having put the install location of the libraries into 
> your RUNTIME_LIBRARY_DIRS)

Another alternative would be to use InstallRequiredSystemLibraries, 
BundleUtilities and/or GetPrerequisites.

--
Cheers,
Mike McQuaid
http://mikemcquaid.com

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to