TarsCloud_TarsCpp/README.md

37 lines
1.8 KiB
Markdown
Raw Normal View History

2018-09-05 11:26:21 +08:00
[点我查看中文版](README.zh.md)
This project is the source code of the Tars RPC framework C++ language.
Directory |Features
------------------|----------------
2018-11-27 17:21:02 +08:00
[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
2019-01-21 14:54:58 +08:00
[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.
2018-11-27 17:21:02 +08:00
[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
2018-09-05 11:26:21 +08:00
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
2020-04-15 16:12:13 +08:00
cmake: | 3.2 and above
2018-09-05 11:26:21 +08:00
mysql: | 4.1.17 and above
Compile and install
```
2018-11-01 14:52:17 +08:00
git clone https://github.com/TarsCloud/TarsCpp.git --recursive
cd TarsCpp
2018-09-05 11:26:21 +08:00
cmake .
make
make install
```
2020-04-15 16:13:40 +08:00
Detailed [reference](https://tarscloud.github.io/TarsDocs_en/)