Unfortunately, it doesn't. If I compile my project in Debug mode and have a Release mode ITKCommon.dll in my path, my application crashes on startup. The same for Release mode together with a Debug ITKCommon.dll. Mixing these is not possible. VTK on the other side is no problem, I can always use Release dlls with my debug exe. But even then it would be nice to be able to load Debug DLLs with my Debug build, if I want to debug into VTK code...
________________________________ Von: John Drescher [mailto:[email protected]] Gesendet: Di 4/7/2009 8:15 An: Neuhaus Jochen Cc: [email protected] Betreff: Re: [CMake] changing Visual Studio project environment setting with CMake On Fri, Apr 3, 2009 at 6:04 AM, Neuhaus Jochen <[email protected]> wrote: > Hi, > > in Visual Studio, you can add custom environment variables that will > exist if you run your application from visual studio. They are at > [execuatable project]-->Properties-->Configuration > Properties-->Debugging-->Environment > My project needs to have a debug version of ITKCommon.dll in its PATH > when running in Debug mode and a Release version of the DLL in Release > mode respectively. Doesn't cmake automatically handle the itk ... dlls correctly? I do not have any debug / release issues with ITK, VTK or Qt all work without me doing anything and there are no Qt, vtk, or itk dlls in my project binary folder. John _______________________________________________ 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
