Additional Topics
Objectives
Additional topics for CMake workshop.
A short summary of what we have learned.
Additional topics
In addition to the contents covered in this Intro to CMake
, there are additional topics and advanced features of the CMake build system that may be of use on projects as they get larger. This is far from a comprehensive list, and information related to unlisted tasks may be found on official CMake documentation.
These topics include:
Resources and books
There are many free resources online regarding CMake:
The CMake tutorial.
The HEP Software Foundation training course.
You can also consult the following books:
Professional CMake: A Practical Guide by Craig Scott.
CMake Cookbook by Radovan Bast and Roberto Di Remigio. The accompanying repository is on GitHub.
Summary of Intro to CMake
Keypoints
CMake is a powerful cross-platform build systems generator.
CMake provides a very good reference-style documentation.
For larger projects you probably want to write a lightweight scaffold around CMake.
Many projects use CMake in other words you are not alone if you look for a solution.
Stack Overflow and GitHub repositories are a good resource for solutions.