Is there any way to create only symbol table using cmake for gdb ?
Add this line to the file CMakeLists.txt:
set(CMAKE_BUILD_TYPE Debug)