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