From 9d4caf32a06ebf75730435f79462ce96a34f0a15 Mon Sep 17 00:00:00 2001 From: keita Date: Wed, 3 Mar 2021 03:20:05 +0900 Subject: [PATCH] manage README --- README.md | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5c06c11..c5a1d6c 100644 --- a/README.md +++ b/README.md @@ -7,9 +7,38 @@ This is a library for using Twitter API from C++ # Dependency -- libcurl +- libcurl(openssl version) - libssl +# Instllation +## Ubuntu +``` +# apt install clang cmake git libboost-dev libboost-test-dev libcurl4-openssl-dev libssl-dev nunja-build +$ git clone https://github.com/koron0902/CocoaTweet +$ cd CocoaTweet // HINT : see bellow for more build faster +$ mkdir build +$ cd build +$ cmake .. -G Ninja +$ ninja +``` + +## Windows +T.B.D. + +## HINT +in the default, test code also linked when build. +you can build more faster modifing CMakeLists.txt +``` +$ vi CMakeLists.txt (or other editor you like) + +// line 73 +# enable_testing() + +// line 76 +# add_subdirectory(test) + +``` + # Features you can use these endpoint - statuses/update