1
0
mirror of https://github.com/fumiama/simple-dict.git synced 2026-06-22 12:10:42 +08:00

添加 多线程、cat指令

This commit is contained in:
fumiama
2021-02-17 14:32:30 +08:00
parent 0ee412c695
commit 97cf4db04d
6 changed files with 153 additions and 53 deletions

13
CMakeLists.txt Normal file
View File

@@ -0,0 +1,13 @@
project(simple-dict-server)
add_executable(simple-dict-server server.c) # 生成可执行文件
add_executable(simple-dict-client client.c) # 生成可执行文件
target_link_libraries( # 目标库
simple-dict-server
# 目标库需要链接的库
pthread)
target_link_libraries( # 目标库
simple-dict-client
# 目标库需要链接的库
pthread)