Chapter Wrap-up
Explore how to create streamlined installation scripts and package management for C++ projects using CMake. Understand exporting targets, handling installation destinations, grouping components, and preparing relocatable packages. Gain foundational skills in packaging with CPack for distributing binary software.
We'll cover the following...
We'll cover the following...
Summary
Writing installation scripts in a cross-platform way is an incredibly complex task without a tool such as CMake. While it still requires a little bit of work to set up, it's a much more streamlined process that ties closely to all the other concepts and techniques we've used so far in this course.
First, we learned how to export CMake targets from projects so that they can be consumed in other ...