Stars: Cotire

Published on Nov 24, 2018.

There are many CMake libraries out there and this is one of the better ones.

Repo Cotire sakra/cotire: CMake module to speed up builds.
License MIT
Language CMake
Status Complete. Stable. No commits since March 2018.


Cotire is not a full-fledged CMake toolkit. Much like some libraries in my previous reviews, this library only does a few things, but it does them well.

Cotire means “compile time reducer”. It has CMake macros for precompiled headers and unity builds. And please consider using precompiled headers if you don’t already. It doesn’t matter if you use Cotire or even CMake. Give them a try. They are probably the best way to reduce compilation times in terms of gain over investment. Precompiled headers work.

Anyway, there’s not much else I can say here. Cotire is a nice little CMake library. Give it a try.

This post is part of my Project Stars where I post a short review for each of the 500+ repos that I’ve starred on GitHub.
For more posts of this series see the tag stars in this blog.

Tags: stars cmake

Leave a comment