Hi There

I googled near and far, but could not find a way to tell CTest where to find 
the 3rd-party DLLs required to run the test executables.
In particular my executable targets link with a few Boost DLLs/SOs and 
obviously require them to run.

I understand on the Linux/Solaris I can use RPATH support in CMake.
But I can't find a way to do it on my primary target platform, WIN32-msvc9.

I've already tried several variants of calling configure_file in a function the 
following way:

       configure_file("${some_dbg_boost_dll_file}" 
"${CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG}" COPYONLY)

I'm open to all sorts of solutions: copy DLLs in place, set the PATH 
environment variable, ... anything!

I just need a pointer to show me some way to do it.

Thank you in advance!
--

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