2018-11-07 21:33:33 +01:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# Author: Benjamin Sergeant
|
|
|
|
# Copyright (c) 2017-2018 Machine Zone, Inc. All rights reserved.
|
|
|
|
#
|
|
|
|
|
|
|
|
# 'manual' way of building. You can also use cmake.
|
|
|
|
|
|
|
|
g++ --std=c++11 \
|
|
|
|
-DIXWEBSOCKET_USE_TLS \
|
|
|
|
-g \
|
|
|
|
../../ixwebsocket/IXEventFd.cpp \
|
|
|
|
../../ixwebsocket/IXSocket.cpp \
|
2018-12-23 23:14:38 +01:00
|
|
|
../../ixwebsocket/IXSetThreadName.cpp \
|
2018-11-07 21:33:33 +01:00
|
|
|
../../ixwebsocket/IXWebSocketTransport.cpp \
|
|
|
|
../../ixwebsocket/IXWebSocket.cpp \
|
2018-12-15 01:28:11 +01:00
|
|
|
../../ixwebsocket/IXDNSLookup.cpp \
|
2018-12-10 02:56:20 +01:00
|
|
|
../../ixwebsocket/IXSocketConnect.cpp \
|
2018-11-07 21:33:33 +01:00
|
|
|
../../ixwebsocket/IXSocketOpenSSL.cpp \
|
2018-12-10 02:56:20 +01:00
|
|
|
../../ixwebsocket/IXWebSocketPerMessageDeflate.cpp \
|
|
|
|
../../ixwebsocket/IXWebSocketPerMessageDeflateOptions.cpp \
|
2018-11-07 21:33:33 +01:00
|
|
|
-I ../.. \
|
|
|
|
ws_connect.cpp \
|
|
|
|
-o ws_connect \
|
2018-12-10 02:56:20 +01:00
|
|
|
-lcrypto -lssl -lz -lpthread
|