Setting Up A C++ Project With CMake

Complete repository for the lazy time-sensitive here.

CMake is a useful build tool for use (at least for my purposes) with C++. It is able to generate scripts to build your program on a variety of different platforms, and in the end, it makes a developer’s life easier.

I have spent the last few days struggling with rearranging my build process with CMake.

All in all, I like it.

It seems like a great tool, however I feel the project could use more straightforward documentation on setting up a project that is split into several parts. Digging into the CMake documentation can be intimidating at first, hopefully I can help ease your pain.

Continue reading “Setting Up A C++ Project With CMake”