1.4 KiB

The CMAKE Tutorial

This is just the hand-coded result of following The CMake Tutorial. I've extensively commented my CMakeLists.txt files so that if I need to review the material, I'll have my own (hopefully sensible) words to guide my understanding. I expect to be doing a lot more C/C++ in the coming months, and this was one of my starting points.


This project is completed. No new work is being considered.


Do the tutorial instead. The only thing I had to look up was Newton's square root algorithm; I ended up using the one out of SICP, as you might be able to guess from the variable names.


The tutorial is under a Creative Commons CC 4.0/BY. Works for me:

You are free to:

Share — copy and redistribute the material in any medium or format

Adapt — remix, transform, and build upon the material for any purpose, even commercially.

The licensor cannot revoke these freedoms as long as you follow the license terms.

Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.