cmake&make&gdb&cgdb
cmake:
cmake -G [] -DCMAKE_BUILD_TYPE=[] PATH
confige:
ccmake ...
turn OPTIMIZE off to debug in gdb;
turn DEBUG_OUTPUT on to show debug info.
cgdb:
switch between the screens: esc; i;
cmake:
cmake -G [] -DCMAKE_BUILD_TYPE=[] PATH
confige:
ccmake ...
turn OPTIMIZE off to debug in gdb;
turn DEBUG_OUTPUT on to show debug info.
cgdb:
switch between the screens: esc; i;