1
0
mirror of https://github.com/fumiama/simple-dict.git synced 2026-06-07 11:10:24 +08:00
Files
simple-dict/CMakeLists.txt
2021-02-17 14:32:30 +08:00

14 lines
500 B
CMake

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)