summaryrefslogtreecommitdiff
path: root/INSTALL.md
diff options
context:
space:
mode:
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md20
1 files 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
15 15
16Then clone this repo and run: 16Then clone this repo and run:
17```bash 17```bash
18cmake CMakeLists.txt 18mkdir build && cd build
19cmake ..
19``` 20```
20 21
21Then you can build any of the [`/testing`](/testing) and [`/other`](/other) by running: 22Then you can build any of the [`/testing`](/testing) and [`/other`](/other) that are currently supported on your platform by running:
22```bash 23```bash
23make name_of_c_file 24make name_of_c_file
24``` 25```
@@ -27,6 +28,11 @@ For example, to build [`Messenger_test.c`](/others/Messenger_test.c) you would r
27make Messenger_test 28make Messenger_test
28``` 29```
29 30
31Or you could just build everything that is supported on your platform by running:
32```bash
33make
34```
35
30###OSX: 36###OSX:
31 37
32Much the same as above, remember to install the latest XCode and the developer tools (Preferences -> Downloads -> Command Line Tools). 38Much 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://
56 62
57Navigate in `cmd` to this repo and run: 63Navigate in `cmd` to this repo and run:
58```cmd 64```cmd
59cmake -G "MinGW Makefiles" CMakeLists.txt 65mkdir build && cd build
66cmake -G "MinGW Makefiles" ..
60``` 67```
61 68
62Then you can build any of the [`/testing`](/testing) and [`/other`](/other) by running: 69Then you can build any of the [`/testing`](/testing) and [`/other`](/other) that are currently supported on your platform by running:
63```cmd 70```cmd
64mingw32-make name_of_c_file 71mingw32-make name_of_c_file
65``` 72```
@@ -67,3 +74,8 @@ For example, to build [`Messenger_test.c`](/others/Messenger_test.c) you would r
67```cmd 74```cmd
68mingw32-make Messenger_test 75mingw32-make Messenger_test
69``` 76```
77
78Or you could just build everything that is supported on your platform by running:
79```bash
80mingw32-make
81```