Yah, absolutely. In the real world that is absolutely the way to go (and I suspect will be managed by your IDE in a lot of cases), but I wanted to show what it means for CMake to be a generator, and Makefiles are the easiest build system to show that with.