[Insight-users] How to debug

Silviu D Minut minutsil at cse.msu.edu
Mon, 29 Mar 2004 09:16:28 -0500 (EST)


> >Do I specify the CMAKE_BUILD_TYPE to something like "Debug" and hope that
> >the -g flag will be passed to the compiler?  Would I have to recompile
> >everything (itk, vtk, etc.) this way?
> >
> >
> That's right and expect much more disk space used.
>

Without debugging:

CSwig + VTK + Insight + InsightApplication = 1086420 K

with debugging:

CSwig + VTK + Insight + InsightApplication = 2626112 K

Is the "Debug" thing documented somewhere? In my case it was an empirical
guess. I saw in some documentation file the version was set to "Release",
so I thought, gee, it must be like in VC++ - release and debug.