Basic CMake tricks for C++ developments