From 41d90835b144855fa93d354d30b270954aa929fe Mon Sep 17 00:00:00 2001 From: Andrew Hundt Date: Mon, 30 Jan 2017 21:05:08 -0500 Subject: [PATCH] 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