“Building C++ Code with CMake” is a two-day training course with programming exercises taught by David Faure of The KDAB Group. It is offered at the Gaylord Rockies from 9AM to 5PM on Saturday and Sunday, September 21st and 22nd (immediately following the conference). Lunch is included.
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.
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.
CMake has broad functionality that covers many real world problems. Learning CMake enables you to solve advanced build requirements. This includes cross-platform builds, feature detection based on platform or available libraries, build-time configurable feature switches, custom build steps and even generating binary packages.
- Build system overview
- CMake overview and introduction
- Targets and their dependencies
- Finding external packages
- Installing targets and files
- CMake Language
- Target properties
- Writing finders
- CMake versions and policies
- Platform-independent file operations
- Code generators
- Cross compilation
- Qt5 support in CMake
- Bonus material
Previous experience with any build system is sufficient background for this workshop.