From fbcd864fd09f7a2e4046eef512054e63c4ea6457 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris <sideris.konstantin@gmail.com> Date: Tue, 27 Feb 2018 22:19:05 +0200 Subject: [PATCH] Update readme --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 77bc5e4d5..4d276f2f3 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ mtxclient --- +[](https://travis-ci.org/mujx/mtxclient) Client API library for the Matrix protocol, built on top of Boost.Asio. @@ -13,10 +14,19 @@ Client API library for the Matrix protocol, built on top of Boost.Asio. - CMake 3.1 or greater - Google Test (for testing) -You will need to pass as argument (`-DOPENSSL_ROOT_DIR`) the installation root of openssl. - Below is an example which will build the library along with the tests & examples. +#### Linux + +```bash +cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Debug +cmake --build build +``` + +#### macOS + +You will need to pass as argument (`-DOPENSSL_ROOT_DIR`) the installation root of openssl. + ```bash cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Debug -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl cmake --build build -- GitLab