-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Minimal CMake
By :

In this chapter, we’re going to return to simplifying and streamlining our project setup. There is a natural push/pull relationship during development between adding functionality and taming the added complexity. In Chapter 7, Adding Install Support for Your Libraries, we spent a lot of time changing directories and running CMake commands. To build our application, we need to navigate through at least five folders (third-party
, array
, draw
, gol
, and app
), running a myriad of CMake commands along the way. This is a fantastic way to learn CMake, but not much fun when you want to get stuff done. It can also prevent unaccustomed users from accessing or contributing to your project.
It’s now time to address this. The skills you’ll learn in this chapter will help reduce the number of manual steps needed to get up and running with your project. This chapter will show you how to remove platform-specific scripts and automate...