[CMake] changing Visual Studio project environment setting with CMake

John Drescher drescherjm at gmail.com
Tue Apr 7 02:15:40 EDT 2009


On Fri, Apr 3, 2009 at 6:04 AM, Neuhaus Jochen
<j.neuhaus at dkfz-heidelberg.de> 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


More information about the CMake mailing list