CMake Tutorial: Supporting GDB Debugging
Table of Contents 1. Introduction 2. How to Support GDB Debugging 3. Code Examples [1] Write demo.c [2] Write CMakeLists.txt [3] Compile [4] GDB Debugging 1. Introduction The combination of CMake and GDB indeed makes the development work of C or C++ easier, enabling cross-platform project builds and source-level debugging. This article details how to … Read more