mkdir build
cd build
cmake ..
make
./bin/forwarder
mddir xcode_build
cd xcode_build
cmake .. -G Xcode
- copy all the src files to Assets/Plugins/iOS/ directory.
- Open Files->Build Settings->iOS->Build, waiting for the build process
- after the xcode project directory built, open it with xcode
- choose a Signing Team
- copy forwarder's include directory to build/Classes/ directory
- append two header search paths:
$(SRCROOT)/Classes/include $ (SRCROOT)/Classes/include/zlib - enable rtti (TODO)
- run the program on your device
yum install centos-release-scl-rh yum install devtoolset-3-gcc devtoolset-3-gcc-c++
scl enable devtoolset-3 bash
cmake -DCMAKE_C_COMPILER:FILEPATH=clang -DCMAKE_CXX_COMPILER:FILEPATH=clang++ ..
https://github.com/gabime/spdlog
https://github.com/miloyip/rapidjson
https://github.com/lsalzman/enet
http://zlib.net/zlib-1.2.8.tar.gz
https://github.com/zaphoyd/websocketpp
https://github.com/mdashti/HPDS/blob/master/src/utils/pool.h
https://github.com/B-Con/crypto-algorithms
docker run --rm -it -v D:\workplace\github\forwarder:/data myubuntu