Training on cmake and C++11 threading