From 77976e5e8e20d47a4a1bafaf515f304410d96eb3 Mon Sep 17 00:00:00 2001 From: fumiama Date: Tue, 18 May 2021 20:40:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9README?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2da602f..a171d70 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,18 @@ # simple-kanban 基于C语言Socket编程的简易公告发布程序 +# 准备工作 + +您需要首先安装[simple-protobuf](https://github.com/fumiama/simple-protobuf),并记住安装路径。如果安装路径不是`/usr/local`,需要手动更改`CMakeLists.txt`的路径指向正确位置。 +```bash +git clone https://github.com/fumiama/simple-protobuf.git +cd simple-protobuf +cd build +cmake .. +make +make install +``` + # 编译 仅适用于类`unix`系统(包括Apple),`windows`下编译请自行将`socket`实现替换为`winsock` @@ -10,7 +22,7 @@ git clone https://github.com/fumiama/simple-kanban.git cd simple-kanban mkdir build cd build -cmake ../ +cmake .. make ```