Architecture is taken from https://github.com/socketio/socket.io-client-cpp/
- Clone repo with submodules
git clone --recurse-submodules -j8 git@github.com:EpineCloud/epine-sdk-cpp.git
- Build and install dependency library
sioclient
cd lib/sio
cmake -DCMAKE_INSTALL_PREFIX=. .
make install
- Build library
cmake .
make
See example repository
https://github.com/EpineCloud/example-epine-sdk-cpp
Additional Unreal Engine build configuration included in EpineSDK.Build.cs
To generate x86_64
libraries use prefix -DCMAKE_OSX_ARCHITECTURES=x86_64
To change OSX deployment target use prefix -DCMAKE_OSX_DEPLOYMENT_TARGET=10.14
Build dependency
cd lib/sio
cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.14 -DCMAKE_OSX_ARCHITECTURES=x86_64 -DCMAKE_INSTALL_PREFIX=. .
make install
Build library
cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.14 -DCMAKE_OSX_ARCHITECTURES=x86_64 .
make