Commit Graph

98 Commits

Author SHA1 Message Date
Esun Kim 192928c997
Use gRPC_BUILD_MSVC_MP_COUNT for windows cmake distrib tests (#28202) 2021-11-29 11:22:07 -08:00
Craig Tiller d1e01ac139
Add a test for a (now-illegal) build file construct (#27602)
* Add a test for a (now-illegal) build file construct

* add to test suite!

* fix

* fix

* fix syntax
2021-10-06 07:43:59 -07:00
Craig Tiller ea389c00c2
Adjust include order per style guide (#27175)
Introduce clang-format configuration to sort includes closer to our rules.
2021-09-08 12:14:44 -07:00
Nicolas Noble a325d7f77a
Pointing the protobuf submodule to the new URL (#26811)
* Pointing the protobuf submodule to the new URL

* Also changing WORKSPACE dependencies

* More references to the old URL...
2021-07-29 10:19:16 -07:00
Vijay Pai 8aff94558c
De-experimentalize C++ callback API (#25728)
* De-experimentalize callback API

* Make FromServerContext based on ServerContextBase

* Fix lambda

* Fix headers

* De-experimentalize tests

* clang-format

* Fix consistency checks

* wip

* Fix const-ness of callback client read RPC requests

* Fix golden file

* Give full route_guide callback client example with Hold etc

* Complete example route-guide server

* De-experimentalize test services

* Omit unneeded using

* Remove some uses of non-experimental macro from test

* clang-format examples

* De-experimentalize async stub calls

* Remove experimental namespace use in qps, ubms

* De-experimentalize alarms, generic stubs, and context allocator

* De-experimentalize SetContextAllocator

* clang-format

* Fix conflicts

* Leave obsolete API in place until users can be migrated
2021-05-27 14:55:25 -07:00
Yash Tibrewal a8ebadbe5f
Parse command-line args (#26161) 2021-05-04 09:32:56 -07:00
Yash Tibrewal 4c53304dcf
Add examples for xDS greeter client and server (#26157) 2021-05-03 23:26:41 -07:00
Vijay Pai ce16365421
clang-format C++ examples (#25764) 2021-03-22 10:23:52 -07:00
Esun Kim b941a771e2
Merge pull request #25046 from veblush/route_guide_example
Added CMakeLists for route_guide example
2021-01-20 10:32:25 -08:00
Esun Kim e7afadc255 Refactor examples BUILD files 2020-12-23 09:23:32 -08:00
Esun Kim 69bb5e328e Added CMakeLists for route_guide example 2020-12-22 13:44:35 -08:00
Esun Kim 86050be0cf Clean up DEPLOYMENT_TARGET 2020-10-08 14:47:56 -07:00
Jan Tattermusch f444177a01
Merge pull request #23252 from tuttieee/fix/hello-world-example-cmake-message
Fix a message indicating the protobuf version CMakeLists.txt
2020-10-06 15:27:53 +02:00
Donna Dionne 8dd0cb4712 Add support for xDS regex matchers. 2020-07-07 13:17:25 -07:00
Esun Kim 165ee5007a Replaced grpc::string with std::string 2020-06-29 17:56:36 -07:00
tuttieee a61e02b90f Fix a message indicating the protobuf version in cpp hello_world example's CMakeLists.txt 2020-06-22 10:41:54 +09:00
Patrice Chalin 4c4933e056 Docs: fix links to quick start pages 2020-06-16 08:40:59 -04:00
Patrice Chalin a3714f5b08
C++ Hello World: refer reader to Quick Start 2020-04-09 17:20:48 -04:00
Donna Dionne 48fa247304 Building C++ example with grpc++ instead of grpc++_unsecure
The example should be build with grpc++, not grpc++_unsecure.

For some reason in some branches like master, both versions are built in
so problem not detected.  This problem surfaced in 1.28x so needs to be
fixed to link with the correct grpc++.
2020-03-18 09:49:26 -07:00
Donna Dionne ca8ba90292 Adding Proto Reflection and Health Check to basic C++ example server
And ensuring the example can be built and ran via
bazel, make, and cmake.
2020-03-05 12:47:14 -08:00
Jan Tattermusch a28d67f0bf
Merge pull request #21891 from jtattermusch/remove_useless_release_links
get rid of the https://grpc.io/release plague
2020-02-13 17:43:41 +01:00
Donna Dionne 2bf8cbb424 Modify helloworld example to allow a target string 2020-02-06 15:39:48 -08:00
Jan Tattermusch 21512217f2 get rid of the https://grpc.io/release plague 2020-02-04 15:01:03 +01:00
Eduardo Broto 60953c511d Add missing greeter_async_client2 to c++ helloworld CMakeLists.txt 2020-01-22 13:15:45 +01:00
Esun Kim 5207eba9ff Add abseil 2020-01-03 19:29:55 -08:00
Zack Galbreath 0be62b021a Add distrib test for CMake FetchContent build 2019-12-19 09:36:25 -05:00
Zack Galbreath ec239c48f7 Allow helloworld example to provide its own protoc and grpc_cpp_plugin 2019-12-18 10:04:39 -05:00
Zack Galbreath 17f95ab1f5 Simplify helloworld makefile
Use pkg-config to automatically find grpc as a dependency of grpc++.
2019-10-09 12:42:30 -04:00
Przemysław Sobala ac0aabdaca Add examples/cpp/helloworld/.gitignore 2019-09-11 10:50:10 +02:00
Christopher Warrington 4be4df3624 Bump min CMake to 3.5.1 to match Google benchmark
The Google Benchmark CMake build needs CMake 3.5.1 or newer. CMake 3.5.1
was released May 24, 2016 and is available in Debian stable and Ubuntu
16.04 and 18.04.
2019-07-02 23:02:47 +00:00
Hao Nguyen 7f787bd083 Link against pthread in examples 2019-06-11 12:12:33 -07:00
Prashant Jaikumar 4f2d8a0014 Fix bazel build for examples
Fixed the bazel build for some code in the examples directory.
2019-03-28 18:59:14 -07:00
Moses Koledoye 84cb531b72
Fix typo 2019-03-15 22:23:52 +00:00
Jan Tattermusch f389e5267a overhaul of top-level .md files 2018-06-20 20:35:04 +02:00
Jan Tattermusch 4a510960c6 add distribtest for grpc being added with cmake add_subdirectory 2018-03-29 14:12:10 +02:00
Jan Tattermusch 2286c633c2 cmake "superbuild" example using externalprojects 2018-03-28 19:30:44 +02:00
Vijay Pai c90a85649b Change grpc++ references in names to grpcpp 2018-03-08 22:04:59 -08:00
Muxi Yan 6ef0159e8e Make C++ cocoapods example work 2018-02-21 18:10:49 -08:00
Muxi Yan bc4b7891c8 Merge remote-tracking branch 'upstream/master' into create-grpc-c++-podspec 2018-01-19 17:35:33 -08:00
Muxi Yan 61bb29f141 Clean up C++ tests and example 2018-01-19 17:32:27 -08:00
Muxi Yan 277e2e4f07 Clean up tests, examples, and podspecs 2018-01-18 17:01:08 -08:00
Jan Tattermusch dec076c4ab fix protobuf usage in the example 2018-01-18 19:34:20 +01:00
Muxi Yan 1164fd6fca Fix copyright information 2018-01-05 17:22:13 -08:00
Muxi Yan de9d44d339 Add example to use gRPC-C++ pod in an iOS application 2018-01-05 16:03:41 -08:00
Jan Tattermusch f0620a37a5 fix linux distrib tests 2017-12-01 10:07:43 +01:00
Jan Tattermusch 06251f8cd6 make helloworld CMakeLists compile on windows 2017-12-01 10:07:43 +01:00
Vijay Pai 4b047a3bff Construction of streams shouldn't require triggering async ops 2017-09-14 17:55:13 -07:00
Jan Tattermusch 4caadb9205 fix helloworld cmake build 2017-09-11 11:03:05 +02:00
Mehrdad Afshari 976eb7c4b4 Fetch grpc.io/release over https 2017-07-10 15:07:33 -07:00
Toshihito Kikuchi 351506688d Update compiler/linker options to use pkg-config in C++ examples 2017-06-13 16:15:04 -07:00