mirror of
https://github.com/php-win-ext/grpc.git
synced 2026-03-24 09:02:15 +01:00
This bumps the minimum version of C++ to 17 from 14 per https://github.com/grpc/proposal/blob/master/L120-requiring-cpp17.md Changes: - Used C++17 instead of C++14 when building gRPC. - Disabled `modernize-unary-static-assert` clang-tidy rule for the smooth transition. This rule will be re-enabled in a future update, along with a fix to address any identified issues. - Added a post-install script for XCode/Cocoapod examples to enforce the use of C++17 across all projects, preventing build errors. (I'd like to have a better solution here but couldn't find it) Closes #37919 PiperOrigin-RevId: 709073401
gRPC on Android
Note: Building the protobuf dependency for Android requires
https://github.com/protocolbuffers/protobuf/pull/3878. This fix will be in the next
protobuf release, but until then must be manually patched in to
third_party/protobuf to build gRPC for Android.
PREREQUISITES
- Android SDK
- Android NDK
protocandgrpc_cpp_pluginbinaries on the host system
INSTALL
The example application can be built via Android Studio or on the command line
using gradle:
$ ./gradlew installDebug