Creating symbol table for gdb using cmake

Vivek Goel picture Vivek Goel · Nov 3, 2011 · Viewed 51.7k times · Source

Is there any way to create only symbol table using cmake for gdb ?

Answer

Jespa picture Jespa · Jun 26, 2012

Add this line to the file CMakeLists.txt:

set(CMAKE_BUILD_TYPE Debug)