Introduction to efficient build tools for C++ projects
We now reach a rite of passage by moving from a Make-based build process to a CMake-based workflow.
The traditional "rule of three" (found in many classic open-source projects) — ./configure && make && sudo make install
— is gradually being replaced by the CMake approach. This modern workflow typically involves creating a separate build
directory to keep the source tree clean (so-called "out-of-source builds"):