This is a simple project which introduce user to know how to use cpp grpc by Makefile and cmake.
You can use the install_grpc.sh to install grpc. It will be installed into grpc/cmake/build/install directory.
Using the gen_grpc_code.sh to generate grpc files.
Execute the following commands in the src directory.
# Go to src directory
cd src
# Build the source code.
make -j
# Run the server.
./helloworld.server
# On a different terminal, run the client.
./helloworld.client
Execute the following commands in the root directory.
# Go to cmake directory and create a build directory
mkdir -p build && cd build
# Build the source code.
cmake .. && make
# Run the server.
./helloworld.server
# On a different termianl, run the client.
./helloworld.client