- Patch the ./openems/CMakeList.txt to change from 'Release' to 'Debug' on line 6
- Run "./update_openEMS.sh `pwd`/debug_build" to compile the whole thing
- Run gdb on "debug_build/bin/openEMS"
I'd like to know the the detailed steps do thing the traditional way, with running cmake and make and then have incremental builds whenever you make a little change.
Unfortunately, creating a "build" directory in "openems" and then doing "cmake .." results in a whole bunch of stuff that's not being found.
I'm looking at the "update_openEMS.sh" script to figure out how to do this, but somebody else must have had the same problems and already know the answer right away?