Use to first build your build folder cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug Use to compile your code cmake --build build -j Use to run your program ./build/{your program} ### In the CMAKE file at the top, define your program name.