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

Minimal CMake
By :

In Chapter 6, Installing Dependencies and ExternalProject_Add, we looked at installing existing libraries and using them in our project. Understanding how to use installed libraries can be incredibly useful, especially when combined with ExternalProject_Add
. Now, we’re going to turn the tables and look at how to add install support to our own library. This is a large topic, and there are many different options available. We won’t be able to cover everything, but we’ll aim to introduce the CMake install
command, what it does, and how to use it, as well as several available configuration options.
The skills you’ll learn in this chapter will be very useful if you ever choose to make your own library installable and available through ExternalProject_Add
or your application packageable. By doing this, you’ll make it easier for other developers to use your library and potentially save them from having to build...