Commit 1a4e9476 authored by gejun's avatar gejun

Add newline to README

Change-Id: Ic1bc65d9dcd395e1c04ef9189311397784774561
parent dad7abd4
......@@ -2,16 +2,16 @@ The opensource version of baidu-rpc
# BUILD
### Ubuntu/LinuxMint/WSL
**install common deps**
Including: git g++ make libssl-dev
**install gflags protobuf leveldb**
Including: git g++ make libssl-dev
**install gflags protobuf leveldb**
Including: libgflags-dev libprotobuf-dev libprotoc-dev protobuf-compiler libleveldb-dev
If you need to statically link leveldb, install libsnappy-dev as well.
If you need to statically link leveldb, install libsnappy-dev as well.
**compile**
git clone this repo. cd into the repo and run: sh config_brpc.sh --headers=/usr/include --libs=/usr/lib
**run example**
cd into example/echo_c++, make, run echo_server and echo_client
**run examples with cpu/heap profilers**
Install libgoogle-perftools-dev and re-run config_brpc.sh before compiling
Install libgoogle-perftools-dev and re-run config_brpc.sh before compiling
**compile tests**
Install gmock and gtest, use the gtest embedded in gmock and don't install libgtest-dev
sudo apt-get install google-mock; cd /usr/src; sudo cmake .; sudo make; sudo mv lib*.a gtest/lib*.a /usr/lib; sudo mv gtest/include/gtest /usr/include/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment