Skip to content

Latest commit

 

History

History
44 lines (25 loc) · 929 Bytes

File metadata and controls

44 lines (25 loc) · 929 Bytes

Finbarr’s dotfiles

Inspired by https://github.com/mathiasbynens/dotfiles.

Sensible OS X defaults

When setting up a new Mac, you may want to set some sensible OS X defaults:

./.osx

Install Homebrew formulae

When setting up a new Mac, you may want to install some common Homebrew formulae (after installing Homebrew, of course):

brew bundle ~/Brewfile

Install gtest

  1. Get the googletest framework

$ wget http://googletest.googlecode.com/files/gtest-1.7.0.zip

  1. Unzip and build google test

$ unzip gtest-1.7.0.zip $ cd gtest-1.7.0 $ ./configure $ make

  1. "Install" the headers and libs on your system.

$ sudo cp -a include/gtest /usr/include $ sudo cp -a lib/.libs/* /usr/lib/ gTestframework is now ready to use. Just don't forget to link your project against the library by include -lgtest in the compile command, e.g.

g++ -lgtest -o test test.cpp