[vtkusers] DCMTK + VTK or ITK

Michael Knopke Michael.Knopke at gmx.de
Mon Mar 29 09:41:14 EDT 2010


Hi,

 

no the default settings of DCMTK is MT, it looks like it is MD (from CMAKE
setup) but it isn't. Generate the DCMTK Project and look at the properties
of its subprojects and you will see that it is wrong. 

 

This is due to the lines:

 

IF(CMAKE_GENERATOR STREQUAL "Visual Studio 8 2005" OR CMAKE_GENERATOR
STREQUAL "Visual Studio 9 2008")

      SET(CMAKE_CXX_FLAGS "/nologo /W3 /Gy /EHsc")

      SET(CMAKE_CXX_FLAGS_DEBUG "/MTd /Z7 /Od")

      SET(CMAKE_CXX_FLAGS_RELEASE "/MT /O2")

      SET(CMAKE_CXX_FLAGS_MINSIZEREL "/MT /O2")

      SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "/MTd /Z7 /Od")

 

That's why I think the cmakelist of DCMTK is incorrect.

 

Regards,

 

Michael

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100329/0b0a2f6b/attachment.htm>


More information about the vtkusers mailing list