From 41d90835b144855fa93d354d30b270954aa929fe Mon Sep 17 00:00:00 2001 From: Andrew Hundt Date: Mon, 30 Jan 2017 21:05:08 -0500 Subject: [PATCH 1/3] README.md homebrew instructions --- README.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bca645c2..9ffb5d8b 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,24 @@ Very fast, header only, C++ logging library. [![Build Status](https://travis-ci. ## Install -Just copy the source [folder](https://github.com/gabime/spdlog/tree/master/include/spdlog) to your build tree and use a C++11 compiler + +### Header only install + +To add spdlog directly to your build tree: + +- Copy the include [folder](https://github.com/gabime/spdlog/tree/master/include/spdlog) to your build tree +- Add the include folder to your C++ include path +- Compile with C++11 + +### Homebrew OS X install + +Install from the command line using [Homebrew](brew.sh): + + # install homebrew package manager + ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" + + # install latest release of spdlog + brew install spdlog ## Platforms * Linux, FreeBSD, Solaris From 17ef6d6962096c2657ef0a1e932becaf0829fbb8 Mon Sep 17 00:00:00 2001 From: Andrew Hundt Date: Mon, 30 Jan 2017 21:08:46 -0500 Subject: [PATCH 2/3] fix homebrew link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9ffb5d8b..8b4235ec 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ To add spdlog directly to your build tree: ### Homebrew OS X install -Install from the command line using [Homebrew](brew.sh): +Install from the command line using [Homebrew](https://brew.sh): # install homebrew package manager ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" From c2cbbf77ab2be6cb4ea37f4ea43306ef0332e361 Mon Sep 17 00:00:00 2001 From: Andrew Hundt Date: Mon, 30 Jan 2017 21:09:32 -0500 Subject: [PATCH 3/3] README.md fix homebrew link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8b4235ec..1a450f06 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ To add spdlog directly to your build tree: ### Homebrew OS X install -Install from the command line using [Homebrew](https://brew.sh): +Install from the command line using [Homebrew](http://brew.sh): # install homebrew package manager ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"