Overview
Explore the current state of C++20 modules support in CMake through this comprehensive conference talk from CppNow 2023. Delve into the challenges and solutions for integrating modules into the CMake build system, including the implementation of module scanning, dependency information collation, and the CMake language API for working with modules. Learn about exporting and importing libraries containing modules, creating module_config.json files, and discovering built modules not created by CMake. Gain insights into CMake's approach to static checkers and their compatibility with modules. Acquire the knowledge needed to experiment with C++20 modules in CMake-built projects, and understand the performance implications, challenges, and issues surrounding header modules. This talk by Bill Hoffman, a founder of Kitware and the original author of CMake, provides an in-depth look at the intersection of C++20 modules and CMake, covering all relevant aspects and potential future developments.
Syllabus
import CMake: // 2023 State of C++20 modules in CMake - Bill Hoffman - CppNow 2023
Taught by
CppNow