document -DBUILD_DEMO=ON

This commit is contained in:
Benjamin Sergeant 2021-03-22 08:51:58 -07:00
parent 2670187fe0
commit 1410797d6f
2 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,8 @@ A bad security bug affecting users compiling with SSL enabled and OpenSSL as the
* $ mkdir -p build ; (cd build ; cmake -DUSE_TLS=1 .. ; make -j ; make install)
* $ clang++ --std=c++11 --stdlib=libc++ main.cpp -lixwebsocket -lz -framework Security -framework Foundation
* $ ./a.out
*
* Or use cmake -DBUILD_DEMO=ON option for other platforms
*/
#include <ixwebsocket/IXNetSystem.h>

View File

@ -9,6 +9,8 @@
* $ mkdir -p build ; cd build ; cmake -DUSE_TLS=1 .. ; make -j ; make install
* $ clang++ --std=c++14 --stdlib=libc++ main.cpp -lixwebsocket -lz -framework Security -framework Foundation
* $ ./a.out
*
* Or use cmake -DBUILD_DEMO=ON option for other platform
*/
#include <ixwebsocket/IXNetSystem.h>