Building a program refers to the process of taking editable source code and other files and transforming them into a finished software product through various steps like preprocessing, compiling, linking, testing, and packaging. CMake is a cross-platform build system developed by Kitware in 2001 that consists of tools like CMake, Ctest, and CPack to manage the entire build process across different platforms.