2345672c55
agent. * The code is based on that from AgentClient.cc, but without the Qt dependency. * The API currently uses blocking I/O. The intent is for users to use a separate read thread and write thread.
18 lines
535 B
Bash
18 lines
535 B
Bash
#!/bin/bash
|
|
|
|
set -e -x
|
|
rm -fr deploy
|
|
mkdir deploy
|
|
cd deploy
|
|
|
|
# I expect the QtSDK to be installed and for these two programs
|
|
# to be in the PATH:
|
|
# /c/QtSDK/mingw/bin/mingw32-make.exe
|
|
# /c/QtSDK/Desktop/Qt/4.7.4/mingw/bin/qmake.exe
|
|
|
|
cp ../TestNetServer-build-desktop/debug/TestNetServer.exe .
|
|
cp ../Agent-build-desktop/debug/Agent.exe .
|
|
cp ../PseudoConsole-build-desktop/debug/PseudoConsole.dll .
|
|
cp $(dirname $(which mingw32-make))/{mingwm10.dll,libgcc_s_dw2-1.dll} .
|
|
cp $(dirname $(which qmake))/{QtCored4.dll,QtNetworkd4.dll} .
|