How to compile and run mkdir build cd build cmake -DCMAKE_BUILD_TYPE=Release .. make Program executable is under ./executables directory.