From f05df560cdc3d140ba674c175914110aed18a2ba Mon Sep 17 00:00:00 2001 From: Sergey Yagovtsev Date: Thu, 22 Feb 2018 00:10:01 +0300 Subject: [PATCH] Update README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index a49162f..da5844e 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ - [Note about context-switch](#note-about-context-switch) 4. [Build](#build) - [Linux](#linux) + - [MacOS](#macos) - [Windows](#windows) 5. [License](#license) @@ -192,6 +193,15 @@ $ cmake -DCMAKE_BUILD_TYPE="Release" .. $ make ``` +## MacOS + +```bash +$ mkdir build +$ cd build +$ cmake -DCMAKE_CXX_COMPILER=g++-5 -DCMAKE_C_COMPILER=gcc-5 -DCMAKE_BUILD_TYPE="Release" .. +$ make +``` + ## Windows If you are using QtCreator IDE you can just open `CMakeLists.txt` file in root directory.