mirror of
https://gitee.com/TarsCloud/TarsCpp.git
synced 2024-12-22 22:16:38 +08:00
37 lines
1.8 KiB
Markdown
Executable File
37 lines
1.8 KiB
Markdown
Executable File
[点我查看中文版](README.zh.md)
|
|
|
|
This project is the source code of the Tars RPC framework C++ language.
|
|
|
|
Directory |Features
|
|
------------------|----------------
|
|
[servant](https://github.com/TarsCloud/TarsCpp/tree/master/servant) |Source code implementation of C++ language framework rpc
|
|
[tools](https://github.com/TarsCloud/TarsCpp/tree/master/tools) |Source code implementation of C++ language framework IDL tool
|
|
[util](https://github.com/TarsCloud/TarsCpp/tree/master/util) |Source code implementation of C++ language framework basic tool library
|
|
[examples](https://github.com/TarsCloud/TarsCpp/tree/master/examples) |Sample code for the C++ language framework, including: quick start examples, introduction to promise programming, examples of pressure test programs
|
|
[unittest](https://github.com/TarsCloud/tars-unittest/tree/master) |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](https://github.com/TarsCloud/TarsCpp/tree/master/test) |Test procedures for various parts of the C++ language framework, deprecated in current.
|
|
[docs](https://github.com/TarsCloud/TarsCpp/tree/master/docs) |Document description
|
|
[docs-en](https://github.com/TarsCloud/TarsCpp/tree/master/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](https://tarscloud.github.io/TarsDocs_en/)
|