From f1495f8dfe4045de40741aa6244a4f3b54dbc62a Mon Sep 17 00:00:00 2001 From: Maxim Biro Date: Sun, 21 Jul 2013 21:12:00 -0400 Subject: [PATCH] Updated INSTALL.md --- INSTALL.md | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 97bef179..bc027c0b 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -15,10 +15,11 @@ sudo ldconfig Then clone this repo and run: ```bash -cmake CMakeLists.txt +mkdir build && cd build +cmake .. ``` -Then you can build any of the [`/testing`](/testing) and [`/other`](/other) by running: +Then you can build any of the [`/testing`](/testing) and [`/other`](/other) that are currently supported on your platform by running: ```bash make name_of_c_file ``` @@ -27,6 +28,11 @@ For example, to build [`Messenger_test.c`](/others/Messenger_test.c) you would r make Messenger_test ``` +Or you could just build everything that is supported on your platform by running: +```bash +make +``` + ###OSX: Much the same as above, remember to install the latest XCode and the developer tools (Preferences -> Downloads -> Command Line Tools). @@ -56,10 +62,11 @@ After that you should get precompiled packages of libsodium from [here](https:// Navigate in `cmd` to this repo and run: ```cmd -cmake -G "MinGW Makefiles" CMakeLists.txt +mkdir build && cd build +cmake -G "MinGW Makefiles" .. ``` -Then you can build any of the [`/testing`](/testing) and [`/other`](/other) by running: +Then you can build any of the [`/testing`](/testing) and [`/other`](/other) that are currently supported on your platform by running: ```cmd mingw32-make name_of_c_file ``` @@ -67,3 +74,8 @@ For example, to build [`Messenger_test.c`](/others/Messenger_test.c) you would r ```cmd mingw32-make Messenger_test ``` + +Or you could just build everything that is supported on your platform by running: +```bash +mingw32-make +```