Skip to content

Commit 5cc0a88

Browse files
committed
1.5.16, 更新README.md与README_CN.md
1 parent bc6b090 commit 5cc0a88

File tree

3 files changed

+23
-9
lines changed

3 files changed

+23
-9
lines changed

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,19 @@ When various program exceptions occur in the program, such as: segment fault, as
101101

102102
# Download & build
103103

104-
## Using GNU Make
104+
## Prepare
105105
```
106+
sudo apt update
107+
sudo apt install build-essential
108+
sudo apt install libgtest-dev libgmock-dev
109+
sudo apt install libmosquitto-dev
110+
106111
git clone https://gitee.com/cpp-master/cpp-tbox.git
107-
cd cpp-tbox;
112+
cd cpp-tbox
113+
```
114+
115+
## Using GNU Make
116+
```
108117
make 3rd-party modules RELEASE=1
109118
```
110119
After completion, the header files and library files are in the .staging directory.
@@ -117,8 +126,6 @@ After completion, the header files and library files are in the $HOME/.tbox path
117126

118127
## Using CMake
119128
```
120-
git clone https://gitee.com/cpp-master/cpp-tbox.git
121-
cd cpp-tbox
122129
cmake -B build
123130
cmake --build build
124131
cmake --install build

README_CN.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,19 @@
101101

102102
# 下载与构建
103103

104-
## 方法一:GNU Make
104+
## 准备
105105
```
106+
sudo apt update
107+
sudo apt install build-essential
108+
sudo apt install libgtest-dev libgmock-dev
109+
sudo apt install libmosquitto-dev
110+
106111
git clone https://gitee.com/cpp-master/cpp-tbox.git
107-
cd cpp-tbox;
112+
cd cpp-tbox
113+
```
114+
115+
## 方法一:GNU Make
116+
```
108117
make 3rd-party modules RELEASE=1
109118
```
110119
完成之后,头文件与库文件都在 .staging 目录下。
@@ -117,8 +126,6 @@ make 3rd-party modules RELEASE=1 STAGING_DIR=$HOME/.tbox
117126

118127
## 方法二:CMake
119128
```
120-
git clone https://gitee.com/cpp-master/cpp-tbox.git
121-
cd cpp-tbox
122129
cmake -B build
123130
cmake --build build
124131
cmake --install build

version.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# TBOX版本号
22
TBOX_VERSION_MAJOR := 1
33
TBOX_VERSION_MINOR := 5
4-
TBOX_VERSION_REVISION := 15
4+
TBOX_VERSION_REVISION := 16

0 commit comments

Comments
 (0)