[CMake] Windows debugger command project settings

Mike McQuaid mike at mikemcquaid.com
Sun Aug 22 12:15:19 EDT 2010


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



More information about the CMake mailing list