2

Accessing CMake in the Best Ways

In the previous chapter, we got acquainted with CMake and learned about its fundamental concepts. Now, we are going to learn how to interact with it. Learning how to interact with CMake is essential. Before you dive into structuring your software project with CMake, you must first learn how to configure, build, and install the existing ones. This will enable you to interact with CMake projects.

This chapter will look into what CMake has to offer as an interface and inspect some of the popular IDE and editor integrations. This chapter will cover the following:

  • Using CMake via a command-line interface
  • Using cmake-gui and ccmake interfaces
  • IDE and editor integrations (Visual Studio, Visual Studio Code (VSCode ...

Get CMake Best Practices - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.