Hi,
cmake -DCMAKE_CXX_FLAGS_DEBUG="-g" CMAKE_INSTALL_PREFIX=/usr ..
But the result is:
This GDB was configured as "i486-linux-gnu"...
(gdb) b main
Breakpoint 1 at 0x80487b3
(gdb) r
Starting program: /home/kermit/Project/FreeRecite/build/bin/
FreeRecite-core
Breakpoint 1, 0x080487b3 in main ()
Current language: auto; currently asm
(gdb) n
Single stepping until exit from function main,
Does it help if you use
cmake -DCMAKE_BUILD_TYPE=Debug CMAKE_INSTALL_PREFIX=/usr ..
which actually sets the debug flag (-g) automatically?
Regards,
Werner
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake