Once cloned, run the following commands inside the project to get up and running:
mkdir Debug
cd Debug
cmake -DCMAKE_BUILD_TYPE=Debug ..
This will generate a Makefile
which can build an executable file from main.cpp
using XCode's C++ compiler (AppleClang).
Use the make
command to build the executable named MAIN
.
To run the executable, use ./MAIN
.
This configuration was set up using a blog post by Michael Suodenjoki.