I have tried setting the debug flags using the
set
command in cmake
but I cam unsure what to add. I have been told things like DEBUG=true
but so far i am unable to find the correct flag to set.
If you want to build for debug (including source information, i.e. -g) when compiling, use
cmake -DCMAKE_BUILD_TYPE=Debug <path>
If you want to build a release build, you can use
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo <path>
gdb
, my backtraces consist entirely of memory addresses and question marks with no function names or anything - Doctor Mohawk 2014-06-05 21:04