A short list showing the main commands using cmake in command line
Considering you are in the root directory of the project (the one that has the main CMakeLists.txt).
mkdir build
cd build
cmake ..Assuming you are in the build directory:
cmake --build .