mirror of
https://github.com/fumiama/simple-dict.git
synced 2026-06-22 12:10:42 +08:00
添加 多线程、cat指令
This commit is contained in:
13
CMakeLists.txt
Normal file
13
CMakeLists.txt
Normal 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)
|
||||
Reference in New Issue
Block a user