Speeding Up Compilation Using Precompiled Headers (PCH), CCache and Ninja in CMake
by Kevin Funk
Abstract
We did some experimentation, and a lot of timing, on how to speed up compile times for C++ projects. In this talk, we are going to discuss:
- Make v.s. Ninja
- Clang v.s. GCC
- The effect of using CCache
- The effect of using Precompiled Headers
- All that using the CMake build system
Some of the material is indeed Linux specific, while others apply just as well on Mac and Windows.