brew tap homebrew/science

brew install git
brew install cmake
brew install boost
brew install libccd
