[Insight-users] How to debug
Rao Jianguo
rao.jianguo at hgu.mrc.ac.uk
Mon, 29 Mar 2004 12:21:22 +0100
Silviu D Minut wrote:
>I successfully compiled Cable, VTK, Insight and InsightApplications. Now I
>want to write a simple application of my own. I did compile the HelloWorld
>example, but I'd like to know how to debug it, if need be. Normally I use
>g++ -g on my Linux box, and I see that -g is an option in ccmake, but how
>do I tell ccmake to pass -g to the compiler?
>
>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.
>Thanks!
>
>
>
>_______________________________________________
>Insight-users mailing list
>Insight-users at itk.org
>http://www.itk.org/mailman/listinfo/insight-users
>
>
Jianguo