-
Book Overview & Buying
-
Table Of Contents
Minimal CMake
By :
We’re (finally) done. This brings us to the end of the book and our transformation from CMake novice to confident CMake practitioner is complete.
In this chapter, we spent some time getting more familiar with the CMake Tools extension for Visual Studio Code and understanding how it can make working with CMake easier and more enjoyable. From debugging our CMake scripts to integrating seamlessly with CMake presets, CMake Tools is an essential addition when working with CMake in Visual Studio Code. We then touched on a few more extensions to provide enhancements for syntax highlighting and automatic formatting, improving our overall editing experience. We then turned our attention to other popular editors to understand how to ensure they work with our project from the outset. After that, we looked at some recommendations for how to build our C/C++ code and the various pros and cons to keep in mind. Next was a discussion of how to split our CMakeLists.txt file to keep...