1 Star 0 Fork 320

qqliyunpeng/gear-lib

forked from gozfree/gear-lib 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
CMakeLists.txt 759 Bytes
一键复制 编辑 原始数据 按行查看 历史
gozfree 提交于 2020-10-18 16:46 . remove useless softlinks
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(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(queue SHARED ${queue_src})
add_library(vector SHARED ${vector_src})
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/qqliyunpeng/gear-lib.git
[email protected]:qqliyunpeng/gear-lib.git
qqliyunpeng
gear-lib
gear-lib
master

搜索帮助