Skip to content
This repository was archived by the owner on Oct 27, 2023. It is now read-only.

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Environment Setup Ubuntu 17.04

sudo apt-get install build-essential cmake

Environment Setup OSX

1. Install HomeBrew
2. Install XCode & XCode Commandline
3. brew update && brew upgrade
4. brew install cmake

Build it

mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=DEBUG
make VERBOSE=1
./helloworld

Debug on Linux

gdb ./helloworld

Debug on OSX

lldb ./helloworld

Inspect Return Code

./helloworld
echo $?

Reference