manage README

This commit is contained in:
Keita
2021-03-06 20:17:26 +09:00
parent 41437fab52
commit 09139202dc
+12 -1
View File
@@ -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=<path/to/openssl/install> # 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