When trying to learn CMake I could not find any good introduction. The CMake documentation is quite good but not suitable for a beginner.
There are some useful tutorials linked on the CMake Wiki but most of them only cover very specific problems or are too basic.
So I wrote this short CMake introduction as a distilled version of what I found out after working through the docs and following stackoverflow questions.
Its a work in progress and I will try to continuously improve it.