<br>I've got a question about how to compile vtk 5.4 with debug symbols on OSX. I've set<br>CMAKE_BUILD_TYPE:STRING:RelWithDebInfo<br>and this sets "-O2 -g" compiler flags.<br><br>This is the comment I got from Rainer Muller about OSX debug symbols:<br>
<br>"<br>Are you sure the debug symbols are installed at all if you use it like that?<br>
<br>
Unlike on other systems, Mac OS X (as of Leopard) stores debug symbols<br>
in external directories called *.dSYM by default. So if you are just<br>
using -g, I am not even sure this will change anything what gets installed.<br>
<br>
The cmake port groups already adds a +debug variant. I don't know cmake<br>
internals, so I cannot tell what this -DCMAKE_BUILD_TYPE=debugFull will<br>
actually do and which flags it will add to compiler calls.<br>"<br><br>How do we check if the libraries contain debug symbols?<br><br>Does the build on OSX create .dSYM directories? I don't think so.<br><br>What is "debugFull", I've not seen any documentation about that.<br>
<br>Take care, Darren<br><br>