Updated INSTALL.md

This commit is contained in:
Maxim Biro 2013-07-21 21:12:00 -04:00
parent 8ae0292cbf
commit f1495f8dfe

View File

@ -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
```