View all comments ➔Show context ➔
  • And ccache or ninja. Something that reduces the amount of stuff that has be rebuilt.

    • Interesting, I had never heard of ccache before, though yes, all good build systems (CMake, Ninja, etc.) should cache intermediate object files.

      But the projects I was working on were so large that even binary and unit test executables were so large that even they would take ~20 seconds to link. You can’t use caching to alleviate that buildtime cost unfortunately.