mirror of https://github.com/TarsCloud/TarsCpp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
6 days ago | |
---|---|---|
.github/workflows | 1 year ago | |
cmake | 1 month ago | |
docs | 2 years ago | |
docs-en | 2 years ago | |
examples | 1 month ago | |
servant | 6 days ago | |
tools | 3 months ago | |
unit-test | 7 months ago | |
util | 2 weeks ago | |
.gitmodules | 1 year ago | |
CMakeLists.txt | 2 years ago | |
Changelist-2.x.md | 2 years ago | |
Changelist-3.x.md | 1 month ago | |
Contributing.md | 3 years ago | |
LICENSE | 3 years ago | |
README.md | 3 years ago | |
README.zh.md | 3 years ago |
README.md
This project is the source code of the Tars RPC framework C++ language.
Directory | Features |
---|---|
servant | Source code implementation of C++ language framework rpc |
tools | Source code implementation of C++ language framework IDL tool |
util | Source code implementation of C++ language framework basic tool library |
examples | Sample code for the C++ language framework, including: quick start examples, introduction to promise programming, examples of pressure test programs |
unittest | Unittest of tarscpp rpc framework base on GoogleTest test framework. You can download it as a git submodule using 'git submodule init unittest;git submodule update' command. |
test_deprecated | Test procedures for various parts of the C++ language framework, deprecated in current. |
docs | Document description |
docs-en | English document description |
Dependent environment
Software | version requirements |
---|---|
linux kernel: | 2.6.18 and above |
gcc: | 4.1.2 and above glibc-devel |
bison tool: | 2.5 and above |
flex tool: | 2.5 and above |
cmake: | 3.2 and above |
mysql: | 4.1.17 and above |
Compile and install
git clone https://github.com/TarsCloud/TarsCpp.git --recursive
cd TarsCpp
cmake .
make
make install
Detailed reference