ruanshudong 157c362f5b Update: tc_common now2ms add commet | %!s(int64=2) %!d(string=hai) anos | |
---|---|---|
.github | %!s(int64=2) %!d(string=hai) anos | |
cmake | %!s(int64=2) %!d(string=hai) anos | |
docs | %!s(int64=3) %!d(string=hai) anos | |
docs-en | %!s(int64=3) %!d(string=hai) anos | |
examples | %!s(int64=2) %!d(string=hai) anos | |
servant | %!s(int64=2) %!d(string=hai) anos | |
tools | %!s(int64=2) %!d(string=hai) anos | |
unit-test | %!s(int64=2) %!d(string=hai) anos | |
util | %!s(int64=2) %!d(string=hai) anos | |
.gitmodules | %!s(int64=2) %!d(string=hai) anos | |
CMakeLists.txt | %!s(int64=2) %!d(string=hai) anos | |
Changelist-2.x.md | %!s(int64=2) %!d(string=hai) anos | |
Changelist-3.x.md | %!s(int64=2) %!d(string=hai) anos | |
Contributing.md | %!s(int64=4) %!d(string=hai) anos | |
LICENSE | %!s(int64=4) %!d(string=hai) anos | |
README.md | %!s(int64=4) %!d(string=hai) anos | |
README.zh.md | %!s(int64=4) %!d(string=hai) anos |
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