manage README
This commit is contained in:
@@ -17,7 +17,7 @@ you can use these endpoint
|
|||||||
- libcurl(openssl version)
|
- libcurl(openssl version)
|
||||||
- libssl
|
- libssl
|
||||||
|
|
||||||
# Instllation
|
# Installation
|
||||||
## Ubuntu
|
## Ubuntu
|
||||||
```
|
```
|
||||||
# apt install clang cmake git libboost-dev libboost-test-dev libcurl4-openssl-dev libssl-dev nunja-build
|
# 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
|
$ 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
|
## Windows
|
||||||
- Get MinGW32 from [here](https://osdn.net/projects/mingw/downloads/68260/mingw-get-setup.exe/)(start download automatically at open link)
|
- 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
|
- Install `mingw32-base-bin` and `mingw32-gcc-g+-bin` via MinGW32
|
||||||
|
|||||||
Reference in New Issue
Block a user