4 ms·
CMake is a natural fit for C/C++ (even though I strongly dislike the syntax). It has a good IDE project generation, and you can use ninja to build super fast. B
by ajconway 6y ago
CMake is a natural fit for C/C++ (even though I strongly dislike the syntax). It has a good IDE project generation, and you can use ninja to build super fast. But it isn’t pre-configured for hermetic builds out of the box, remote, team-wide builds and caching are much further than a command line option away.
- kortex 6y agoYou can use sccache with Cmake easily. On mobile so I can only give you breadcrumbs. 1. Set up sccache backing server (I use docker redis) 2. Export sccache config. Set SCCACHE_REDIS to a Redis url in format redis://[:<passwd>@]<hostname>[:port][/<db>] Set CMAKE_<LANG>_COMPILER_LAUNCHER (cc, cxx) to sccache.