From 09139202dcec29b6a9907b2cb59a9071d0785e84 Mon Sep 17 00:00:00 2001 From: Keita Date: Sat, 6 Mar 2021 20:17:26 +0900 Subject: [PATCH] manage README --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 94dc795..0fbfb1d 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ you can use these endpoint - libcurl(openssl version) - libssl -# Instllation +# Installation ## Ubuntu ``` # apt install clang cmake git libboost-dev libboost-test-dev libcurl4-openssl-dev libssl-dev nunja-build @@ -29,6 +29,17 @@ $ cmake .. -G Ninja $ ninja ``` +## macOS +``` +$ brew install cmake curl git ninja openssl pkg-config +$ git clone https://github.com/koron0902/CocoaTweet +$ cd CocoaTweet +$ mkdir build +$ cd build +$ cmake .. -G ninja -DOPENSSL_ROOT_DIR= # CANNOT detect libssl automatically with homebrew and cmake bug +$ ninja +``` + ## Windows - Get MinGW32 from [here](https://osdn.net/projects/mingw/downloads/68260/mingw-get-setup.exe/)(start download automatically at open link) - Install `mingw32-base-bin` and `mingw32-gcc-g+-bin` via MinGW32