diff options
Diffstat (limited to 'INSTALL.md')
-rw-r--r-- | INSTALL.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -60,6 +60,10 @@ cd ProjectTox-Core | |||
60 | mkdir build && cd build | 60 | mkdir build && cd build |
61 | cmake .. | 61 | cmake .. |
62 | ``` | 62 | ``` |
63 | Advance cmake options: | ||
64 | - `-DSHARED_TOXCORE=ON` (default `OFF`) — Build Core as a shared library. | ||
65 | - `-DUSE_NACL=ON` (default `OFF`) — Use NaCl library instead of libsodium. | ||
66 | |||
63 | Note that you should call cmake on the root [`CMakeLists.txt`](/CMakeLists.txt) file only. | 67 | Note that you should call cmake on the root [`CMakeLists.txt`](/CMakeLists.txt) file only. |
64 | 68 | ||
65 | Then you can build any of the [`/testing`](/testing) and [`/other`](/other) that are currently supported on your platform by running: | 69 | Then you can build any of the [`/testing`](/testing) and [`/other`](/other) that are currently supported on your platform by running: |
@@ -143,6 +147,10 @@ Navigate in `cmd` to this repo and run: | |||
143 | mkdir build && cd build | 147 | mkdir build && cd build |
144 | cmake -G "MinGW Makefiles" .. | 148 | cmake -G "MinGW Makefiles" .. |
145 | ``` | 149 | ``` |
150 | Advance cmake options: | ||
151 | - `-DSHARED_TOXCORE=ON` (default OFF) — Build Core as a shared library. | ||
152 | - `-DSHARED_LIBSODIUM=ON` (default OFF) — Link libsodium as a shared library. | ||
153 | |||
146 | Note that you should call cmake on the root [`CMakeLists.txt`](/CMakeLists.txt) file only. | 154 | Note that you should call cmake on the root [`CMakeLists.txt`](/CMakeLists.txt) file only. |
147 | 155 | ||
148 | Then you can build any of the [`/testing`](/testing) and [`/other`](/other) that are currently supported on your platform by running: | 156 | Then you can build any of the [`/testing`](/testing) and [`/other`](/other) that are currently supported on your platform by running: |