Re: [CMake] [CTest] DLLs, scripts, and build types

2009-03-02 Thread Adolfo Rodríguez
Have you considered tweaking your rpath settings? This linkhttp://www.cmake.org/Wiki/CMake_RPATH_handlinghas proved to be very useful to me in the past. Cheers, Adolfo On Sun, Mar 1, 2009 at 10:34 PM, Gregory Sharp gregsharp@yahoo.comwrote: Hello, I ran into a problem with getting the

Re: [CMake] [CTest] DLLs, scripts, and build types

2009-03-02 Thread Gregory Sharp
Have you considered tweaking your rpath settings? This linkhttp://www.cmake.org/Wiki/CMake_RPATH_handlinghas proved to be very useful to me in the past. Thank you for the suggestion. I'm pretty sure that RPATH is only for Unix, however, so I use the script as in step (3) to set PATH.

[CMake] [CTest] DLLs, scripts, and build types

2009-03-01 Thread Gregory Sharp
Hello, I ran into a problem with getting the CTest to run when linking with a DLL. 1) My program links with ITK, and I build this as a DLL on windows. 2) During testing, my program needs to find the ITK dll. I do not wish to add to the global path. 3) My understanding is that the workaround

Re: [CMake] [CTest] DLLs, scripts, and build types

2009-03-01 Thread Werner Smekal
Hello too, We use something like if(BUILD_SHARED_LIBS AND WIN32 AND NOT CYGWIN) SET(LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/dll) endif(BUILD_SHARED_LIBS AND WIN32 AND NOT CYGWIN) so that all DLLs end up in one directory (since we build many of them, otherwise they would be scattered

Re: [CMake] [CTest] DLLs, scripts, and build types

2009-03-01 Thread Gregory Sharp
From: Werner Smekal sme...@iap.tuwien.ac.at Subject: Re: [CMake] [CTest] DLLs, scripts, and build types To: gregsharp@yahoo.com Cc: cmake@cmake.org Date: Sunday, March 1, 2009, 2:11 PM Hello too, We use something like if(BUILD_SHARED_LIBS AND WIN32 AND NOT CYGWIN) SET