mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Updated INSTALL.md
This commit is contained in:
parent
8ae0292cbf
commit
f1495f8dfe
20
INSTALL.md
20
INSTALL.md
@ -15,10 +15,11 @@ sudo ldconfig
|
|||||||
|
|
||||||
Then clone this repo and run:
|
Then clone this repo and run:
|
||||||
```bash
|
```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
|
```bash
|
||||||
make name_of_c_file
|
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
|
make Messenger_test
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Or you could just build everything that is supported on your platform by running:
|
||||||
|
```bash
|
||||||
|
make
|
||||||
|
```
|
||||||
|
|
||||||
###OSX:
|
###OSX:
|
||||||
|
|
||||||
Much the same as above, remember to install the latest XCode and the developer tools (Preferences -> Downloads -> Command Line Tools).
|
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:
|
Navigate in `cmd` to this repo and run:
|
||||||
```cmd
|
```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
|
```cmd
|
||||||
mingw32-make name_of_c_file
|
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
|
```cmd
|
||||||
mingw32-make Messenger_test
|
mingw32-make Messenger_test
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Or you could just build everything that is supported on your platform by running:
|
||||||
|
```bash
|
||||||
|
mingw32-make
|
||||||
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user