1 Star 0 Fork 321

guodong/gear-lib

forked from ALONE_WORK/gear-lib 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CMakeLists.txt 828 Bytes
一键复制 编辑 原始数据 按行查看 历史
gozfree 提交于 2020-01-01 14:41 . 1.add CMakeList support
cmake_minimum_required(VERSION 3.9)
include_directories(include)
set(base64_src src/libbase64.c)
set(log_src src/liblog.c)
set(file_src src/filewatcher.c src/fio.c src/io.c src/libfile.c)
set(ipc_src src/libipc.c src/msgq_posix.c src/msgq_sysv.c src/netlink.c src/shm.c src/unix_socket.c)
set(gevent_src src/epoll.c src/libgevent.c src/poll.c src/select.c)
set(dict_src src/libdict.c)
set(macro_src src/libmacro.c)
set(queue_src src/libqueue.c)
set(vector_src src/libvector.c)
add_library(gevent SHARED ${gevent_src})
add_library(dict SHARED ${dict_src})
add_library(ipc SHARED ${ipc_src})
target_link_libraries(ipc rt gevent dict)
add_library(log SHARED ${log_src})
add_library(file SHARED ${file_src})
add_library(macro SHARED ${macro_src})
add_library(queue SHARED ${queue_src})
add_library(vector SHARED ${vector_src})
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/qdwx1107/gear-lib.git
git@gitee.com:qdwx1107/gear-lib.git
qdwx1107
gear-lib
gear-lib
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385