diff --git a/README.md b/README.md index b087de9d..fdf52bf4 100644 --- a/README.md +++ b/README.md @@ -243,7 +243,7 @@ CMakefiles for the library and the examples are available. This library has few ``` mkdir build # make a build dir so that you can build out of tree. cd build -cmake .. +cmake -DUSE_TLS=1 .. make -j make install # will install to /usr/local on Unix, on macOS it is a good idea to sudo chown -R `whoami`:staff /usr/local ``` @@ -251,6 +251,12 @@ make install # will install to /usr/local on Unix, on macOS it is a good idea to Headers and a static library will be installed to the target dir. There is a unittest which can be executed by typing `make test`. +Options for building: + +* `-DUSE_TLS=1` will enable TLS support +* `-DUSE_MBED_TLS=1` will use [mbedlts](https://tls.mbed.org/) for the TLS support (default on Windows) +* `-DUSE_WS=1` will build the ws interactive command line tool + ### vcpkg It is possible to get IXWebSocket through Microsoft [vcpkg](https://github.com/microsoft/vcpkg).