To use CMake, you can do the following: mkdir build # Create a build dir cd build cmake <path-to-your-project> # CMake will generate a Makefile for you make -j # Build the project.