Get CMake to support Android and iOS platforms
I always wanted to get CMake to support Android and iOS platforms. I had a little time window and managed to work it and I am happy to share. I will be super glad if it helps to someone!
It may have points to discuss. I'm glad to iterate. I had comments on files. Thanks!
When this will be merged?
Just a note for the iOS package distribution, I see in the README, a dynamic library (.dylib) this has not been allowed for a long time on Apple stores, it is mandatory to have a static library: .a or .xcframework! I will soon post a github URL of one of my repositories, for :
- iOS/iPadOS (arm64)
- Android (arm64-v8a / armeabi-v7a)
- Linux (x64/arm64)
- Windows (x64/arm64)
- macOS (x64 /arm64)
- Steam Linux (x64 /arm64) via the Steam Linux Runtime 3.0 Sniper SDK
- Steam Deck (x64) via the Steam Runtime 3.0 Sniper SDK
Which will contain all the pre-compiled libraries in static form that you can retrieve via the artifacts of the Github Actions CI: protobuf + OpenSSL + GameNetworkingSockets, with obviously the latest version latest release of the libraries! I automated it from a CI so I would just have to change the tag / commitsha of protobuf (+absail) / openssl / GameNetworkingSockets, when I have the devkit for consoles I will also make the request to extend on consoles!