sudo apt-get install build-essential cmake1. Install HomeBrew
2. Install XCode & XCode Commandline
3. brew update && brew upgrade
4. brew install cmakemkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=DEBUG
make VERBOSE=1
./helloworldgdb ./helloworldlldb ./helloworld./helloworld
echo $?