Integrating C++ code generation into a large CMake build
CB Bailey
As more teams have started migrating to CMake for their builds, we have put in considerable effort to integrate our code generation tools into CMake in the best way possible. This talk will explore the challenges we faced in developing our CMake integration, the implementation choices we made for the best possible developer experience and build performance, and how we roll out improvements to both the code generation tools and the CMake modules.
The three main topics covered in detail are:
-
Choosing between configure-time code generation and build-time code generation
-
Ensuring fast and consistent incremental builds
-
How to measure, test, and roll out code generation changes across a large code base
CB Bailey
CB’s previous career in software has included roles in such diverse areas as web technology, business intelligence, data warehousing, defence and radar.
CB understands the importance of optimal software practices and so has a keen interest in source control systems, build systems and best practices surrounding their use.