Introduction to CMake

The best thing a build system can do, is not get in the way

CMake is the de facto standard build system for C and C++ outside of frameworks that require their own. It has earned this place by supporting the situations and special cases that arise in real projects.

CMake has strong support for building Qt applications and will replace qmake as the build system for Qt in Qt6, so it’s more than a useful alternative if you hit limitations in qmake.

This course will teach the basics of creating and building projects with CMake. In recent years, CMake has introduced some cleaner and more precise constructs. The course will focus on the new constructs where possible.

Our live training classes for CMake are Two-day sessions, with labs.

We offer two types of in-person training: Scheduled, for individuals from diverse companies and In-Company for teams.

Course Contents

  • Build system overview; targets and dependencies
  • Building executables and libraries
  • CMake language and debugging
  • Platform-independence
  • Using and writing package finders
  • Code generators
  • Cross compilation

Download the full table of contents...

Course Information

This course is for:

C and C++ developers

Prerequisites:

Experience with build systems

Duration:

Two-day training course

Upcoming Courses

Start

Days

Location

Course

Language

Price ex. VAT

██████

███

███████████████

███

███

█████

███

██████

███

███████████████

███

███

█████

███

██████

███

███████████████

███

███

█████

███

* plus VAT if applicable

Why learn CMake?

CMake is the de facto standard build system for new cross-platform C / C++ projects. It has broad functionality that covers many real-world problems, enabling you to solve advanced build requirements. This includes cross-platform builds, feature detection based on platform or available libraries, built-time configurable feature switches, and custom build steps.