this article misses a crucial conceptual point of using a higher-level build tool / meta-build tool with this line
cd build && make
by not using instead cmake --build build/
and then use all the other options available to the cmake --build command. Think of CMake as your multi-platform build tool, not just a "makefile generator".