Re: [CMake] runtime dependencies for tests

2012-02-03 Thread Massaro Alessio
...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Michael Hertling Sent: 01 February 2012 02:20 To: cmake@cmake.org Subject: Re: [CMake] runtime dependencies for tests On 01/31/2012 02:43 PM, Massaro Alessio wrote: Hi There I googled near and far, but could not find a way to tell CTest

Re: [CMake] runtime dependencies for tests

2012-02-03 Thread Massaro Alessio
=${newPath}) -Original Message- From: Massaro Alessio Sent: 03 February 2012 10:28 To: 'Michael Hertling'; cmake@cmake.org Subject: RE: [CMake] runtime dependencies for tests Thanks to everyone for the feedback! The following does not work, afaics add_test(NAME ${mod_name} COMMAND ${mod_name

Re: [CMake] runtime dependencies for tests

2012-01-31 Thread Jean-Christophe Fillion-Robin
Hi Alessio, You could either use a forwarded launcher is it's done in paraview. See Applications/ParaView/CMakeLists.txthttp://paraview.org/gitweb?p=ParaView.git;a=blob;f=Applications/ParaView/CMakeLists.txt;h=d7850949dbddf218d1a908605748aa0580d5db68;hb=HEAD#l49,

Re: [CMake] runtime dependencies for tests

2012-01-31 Thread Michael Hertling
On 01/31/2012 02:43 PM, Massaro Alessio wrote: 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