[CMake] Compiling with debug info on OSX

Alexander Broekhuis a.broekhuis at gmail.com
Wed Sep 18 09:37:22 EDT 2013


Hi all,

Basically a simple question: How do I compile a library with debug info on
OSX?

I've tried to obvious and set the CMAKE_BUILD_TYPE to Debug. But I am
either doing something wrong, or this isn't enough..

To check if there is debug info I use dwarfdump, and the output always
says: .debug_info contents: < EMPTY >

What am I doing wrong?

-- 
Met vriendelijke groet,

Alexander Broekhuis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130918/f3009f70/attachment.htm>


More information about the CMake mailing list