From ca3380ba2f50a8b793c795d5bbc815179b10375e Mon Sep 17 00:00:00 2001 From: Maxim Biro Date: Sun, 4 Aug 2013 22:29:09 -0400 Subject: [PATCH] Added cmake options into INSTALL --- INSTALL.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/INSTALL.md b/INSTALL.md index 483928b0..8c7147fa 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -60,6 +60,10 @@ cd ProjectTox-Core mkdir build && cd build cmake .. ``` +Advance cmake options: + - `-DSHARED_TOXCORE=ON` (default `OFF`) — Build Core as a shared library. + - `-DUSE_NACL=ON` (default `OFF`) — Use NaCl library instead of libsodium. + Note that you should call cmake on the root [`CMakeLists.txt`](/CMakeLists.txt) file only. 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: mkdir build && cd build cmake -G "MinGW Makefiles" .. ``` +Advance cmake options: + - `-DSHARED_TOXCORE=ON` (default OFF) — Build Core as a shared library. + - `-DSHARED_LIBSODIUM=ON` (default OFF) — Link libsodium as a shared library. + Note that you should call cmake on the root [`CMakeLists.txt`](/CMakeLists.txt) file only. Then you can build any of the [`/testing`](/testing) and [`/other`](/other) that are currently supported on your platform by running: