I'm building source code from a standard "C" project. I created a CMakeLists.txt file and then generated a codeblocks makefile project.
I have compiler settings Produce Debugging symbols checked and strip all symbols off.
When I look at the log it shows:
/usr/bin/cc -o CMakeFiles/XXX.dir/xxxx.c.o -c /media/rickf/SSD//xxxx.c
so it seems like no -g is being passed to the cc command.
Symbols show up in the Management window, however, and seem correct, but when I go to debug
Adding source dir: /media/rickf/SSD/
Adding file: /media/rickf/SSD/<AppName>
Changing directory to: /media/rickf/SSD/<FolderWhereAppNameIs>
Set variable: LD_LIBRARY_PATH=.:
[debug]Command-line: /usr/bin/gdb -nx -fullname -quiet -args /media/rickf/SSD/<AppName>
[debug]Working dir : /media/rickf/SSD/<FolderWhereAppNameIs>
Starting debugger: /usr/bin/gdb -nx -fullname -quiet -args /media/rickf/SSD/<AppName>
done
[debug]Reading symbols from /media/rickf/SSD/<AppName>
[debug](no debugging symbols found)...done.
[debug](gdb)
Is this a bug, or, do I need to set up something differently?
Also, it seems with the Cmake project I don't get debug/release build targets, but instead <AppName> and <AppName fast>
Thanks
R.