2019-02-22 06:24:53 +01:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# Author: Benjamin Sergeant
|
|
|
|
# Copyright (c) 2017-2018 Machine Zone, Inc. All rights reserved.
|
|
|
|
#
|
|
|
|
|
|
|
|
# 'manual' way of building. I cannot get CMake to work to build in a container.
|
|
|
|
|
|
|
|
g++ --std=c++14 \
|
|
|
|
-DIXWEBSOCKET_USE_TLS \
|
|
|
|
-g \
|
|
|
|
../ixwebsocket/IXEventFd.cpp \
|
|
|
|
../ixwebsocket/IXSocket.cpp \
|
|
|
|
../ixwebsocket/IXSocketServer.cpp \
|
|
|
|
../ixwebsocket/IXSocketConnect.cpp \
|
2019-03-11 00:36:44 +01:00
|
|
|
../ixwebsocket/IXSocketFactory.cpp \
|
2019-02-22 06:24:53 +01:00
|
|
|
../ixwebsocket/IXDNSLookup.cpp \
|
|
|
|
../ixwebsocket/IXCancellationRequest.cpp \
|
|
|
|
../ixwebsocket/IXWebSocket.cpp \
|
|
|
|
../ixwebsocket/IXWebSocketServer.cpp \
|
|
|
|
../ixwebsocket/IXWebSocketTransport.cpp \
|
|
|
|
../ixwebsocket/IXWebSocketHandshake.cpp \
|
|
|
|
../ixwebsocket/IXWebSocketPerMessageDeflate.cpp \
|
|
|
|
../ixwebsocket/IXWebSocketPerMessageDeflateCodec.cpp \
|
|
|
|
../ixwebsocket/IXWebSocketPerMessageDeflateOptions.cpp \
|
2019-03-11 00:36:44 +01:00
|
|
|
../ixwebsocket/IXWebSocketHttpHeaders.cpp \
|
|
|
|
../ixwebsocket/IXHttpClient.cpp \
|
|
|
|
../ixwebsocket/IXUrlParser.cpp \
|
2019-02-22 06:24:53 +01:00
|
|
|
../ixwebsocket/IXSocketOpenSSL.cpp \
|
|
|
|
../ixwebsocket/linux/IXSetThreadName_linux.cpp \
|
2019-03-11 00:36:44 +01:00
|
|
|
../third_party/msgpack11/msgpack11.cpp \
|
2019-02-22 06:24:53 +01:00
|
|
|
ixcrypto/IXBase64.cpp \
|
|
|
|
ixcrypto/IXHash.cpp \
|
|
|
|
ixcrypto/IXUuid.cpp \
|
2019-03-11 00:36:44 +01:00
|
|
|
ws_http_client.cpp \
|
2019-02-23 06:47:57 +01:00
|
|
|
ws_ping_pong.cpp \
|
2019-02-23 06:13:56 +01:00
|
|
|
ws_broadcast_server.cpp \
|
|
|
|
ws_echo_server.cpp \
|
2019-02-23 05:49:26 +01:00
|
|
|
ws_chat.cpp \
|
|
|
|
ws_connect.cpp \
|
2019-02-22 06:24:53 +01:00
|
|
|
ws_transfer.cpp \
|
|
|
|
ws_send.cpp \
|
|
|
|
ws_receive.cpp \
|
|
|
|
ws.cpp \
|
|
|
|
-I . \
|
|
|
|
-I .. \
|
|
|
|
-I ../third_party \
|
|
|
|
-o ws \
|
|
|
|
-lcrypto -lssl -lz -lpthread
|