Our current support for low dependency, cross compilation for the C++ SDK is very poor. Things work on Linux, because of make
and not much else. We also have no tests.
Right now, the C++ SDK is built on top of gRPC, which may be adding too many dependencies to be used in a valuable way across platforms?
Code is here: https://github.com/GoogleCloudPlatform/agones/tree/master/sdks/cpp
- Review the current state of cross complication and dependency with gRPC.
- Review the SDK REST api endpoints, and see if that would be a better fit than connecting via gRPC.
- Depending on that, prepare a design doc (added here is fine), with the following things in mind:
- Ability to cross compile on Linux/Mac/Windows
- Add some kind of unit tests, build tests, etc ideally with automation
- Anything else that is important to the C++ ecosystem (dependencies?)
Caveat: This is written by @markmandel who has little to no idea about C++ and its ecosystem, so direction on the above is also appreciated.
https://github.com/grpc/grpc/blob/master/src/cpp/README.md#make https://www.appveyor.com https://circleci.com/build-environments/xcode/osx/ https://docs.travis-ci.com/user/reference/osx/