This CMake training covers how to efficiently write CMake scripts for small to larger projects along with best practices. This training also provides an overview of unit testing with CTest, packaging with CPack and continuous integration with CDash.

This training mixes theory and application with a set of tutorials and exercises.


  • Understand the basics of CMake (variables, cache, flow, etc.)
  • Learn the best practice of Modern CMake
  • Configure simple and complex projects with CMake
  • Learn about the companion CMake tools: CPack, CTest and CDash


  • C/C++ : Basic knowledge


Getting Started with CMake

  • CMake’s major features
  • CMake configuration workflow
  • Running CMake

Setup projects with CMake

  • CMake syntax: variables, cache, and flow management
  • Building libraries and executables
  • Finding and using external packages

Modern CMake

  • Overview of Modern CMake’s target-centric approach
  • Installing targets
  • Importing and exporting targets
  • Tips to improve your CMake scripts
  • Tips to speed up your builds

Companion tools

  • Writing tests with CTest
  • Coverage and dynamic analysis
  • Overview of CDash
  • Introduction to the packaging tool: CPack

Practical Information

Registration for CMake training is currently closed. Please check back for future training sessions.

Company Training

All our training can be offered on site with a custom agenda. Contact us for more information.

Contact Us