[CMake] Default Debug format for OS X 10.5 Leopard
Sean McBride
sean at rogue-research.com
Thu Nov 1 18:22:17 EDT 2007
On 11/1/07 10:39 AM, Mike Jackson said:
>Apple has moved to using "dwarf" as its default debugging format. Is
>there support going into cmake to set this as the default debug
>argument string?
By default CMake sets CMAKE_C_FLAGS_DEBUG to include "-g". On 10.4, "-
g" means 'stabs' and you have to pass '-gdwarf-2' to get dwarf. But in
10.5, "-g" means dwarf. So I think CMake is correct in just using "-g"
always, don't you?
--
____________________________________________________________
Sean McBride, B. Eng sean at rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
More information about the CMake
mailing list