Compiling code is easy. However, what happens when the code you want to compile doesn't exist yet? Here I explore how to get CMake to generate files which are then used in the project.
Unit testing is simple, and frameworks make it complicated. In a large, complex project, a full fledged framework may be necessary. However, don't let a complex framework distract you from testing goals.
Chaining if statements happens alot when creating equals and other comparison functions. It looks overly verbose, and writing a wrapper makes it easier to grok.