How to debug with CMake and QtCreator

Add a custom build step before the make step.

  • Name
    • cmake
  • Command
    • /usr/bin/cmake
  • Working directory
    • $BUILDDIR
  • Commandline arguments
    • -DCMAKE_BUILD_TYPE=Debug .

Then hit F5 and breakpoints should work.

Comments

 
 
how_to/debug_with_cmake_and_qtcreator.txt ยท Last modified: 28.11.2010 03:17 (external edit)
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Drupal Garland Theme for Dokuwiki