Thanks,
That works, apparently it was already working, but somehow I don't see the
debug info when I use the Apache APR with debug logging enabled.
I guess I have to take a look into APR to see what is going on.
Thanks for the replies!
2013/9/19 Cristian Bidea
> If you're using clang or gcc
If you're using clang or gcc setting the -g compile flag should do the
trick.
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g")
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g")
If you're setting the CMAKE_BUILD_TYPE then you should use the
corresponding configuration flags:
CMAKE_CXX_FLAGS_DEBUG
CMAKE_
I am using the Makefile generator and not XCode.
2013/9/18 Michael Jackson
> Are you using Makefiles or the XCode generator or something else?
> ___
> Mike JacksonPrincipal Software Engineer
> BlueQuartz Software
Are you using Makefiles or the XCode generator or something else?
___
Mike JacksonPrincipal Software Engineer
BlueQuartz SoftwareDayton, Ohio
mike.jack...@bluequartz.net www.bluequar
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_i