CppCon 2021 has ended
Back To Schedule
Wednesday, October 27 • 2:00pm - 3:00pm
Modern CMake Modules

Log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
At Bloomberg, we have thousands of independently maintained first- and third-party C++ projects built with CMake. One of the keys to achieving this scale, while also keeping engineers productive, has been leveraging one of the most underrated and underutilized features of CMake — its extensibility via its module system. Bloomberg utilizes dozens of single-purpose CMake modules to allow its tens of thousands of CMakeLists.txt files to stay declarative, flexible, future-proof, and simple -- all while using modern CMake principles!

This talk will cover what CMake modules are, how to write one using the latest CMake features, and how to package one for others to use. Importantly, this talk will also cover when *not* to write a CMake module.

If you find yourself wincing at all the repetitive boilerplate in the CMakeLists.txt across your projects, this is the talk for you!

ALL TALK SESSIONS CAN BE ACCESSED FROM THE MAIN LOBBY: https://cppcon.digital-medium.co.uk/

avatar for Bret Brown

Bret Brown

Team Lead, Bloomberg
Software engineer currently focusing on improving C and C++ ergonomics, correctness, and productivity for Bloomberg's Developer Experience department.Bret likes making authoring and maintaining C++ codebases simpler and more intuitive by treating projects more like cattle and less... Read More →

Wednesday October 27, 2021 2:00pm - 3:00pm MDT
  • Modules/Libraries, Hybrid