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;

  

posted @ 2016-04-23 23:54  rainker  阅读(166)  评论(0)    收藏  举报