in the main directory run # cmake -S . -B build once. After that run # cmake --build build each time something changes.