Welcome to HSF CMake tutorial! The aim of this tutorial is to cover the basics of using CMake. This tutorial is based on the online book Modern CMake, with a focus on CMake 3.15+. This is in what is called the “More Modern” era of CMake (roughly defined as 3.12+), and includes the fantastic command line improvements in CMake π (3.14) and 3.15. The current version at the time of writing is CMake 3.21.
This workshop covers the basics of making and building a project, and some details of design.
Designed and first taught at the 2019 USATLAS Computing Bootcamp at LBNL with the support of FIRST-HEP and IRIS-HEP. Also taught at the 2020 USATLAS Computing Bootcamp and 2021 USATLAS Computing Bootcamp.
- Basic knowledge of C or C++
- Basic unix shell