A 3-post collection

RSS feed of posts tagged CMake

Basic CMake, part 2: libraries

My previous post about CMake provided a simple CMakeLists.txt for a small, self-contained, project. In practice, very few project are fully self-contained, as they either depend on external libraries, or are themselves libraries that other projects depend on. »

Basic CMake usage

The end of semester is here and, as I grade our students semestral works, I get to use CMakeLists of dubious quality. After seeing the same errors repeat over and over again, I decided to write a short tutorial towards writing simple CMakeLists. »

How to get code coverage from CI

I spent almost a week getting code coverage set up on Travis and AppVeyor and decided to write down what I found out, to make it easier for others. »