加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CMakeLists.txt 1016 Bytes
一键复制 编辑 原始数据 按行查看 历史
Bo 提交于 2020-05-18 11:14 . cleanup
project(facil.io C)
cmake_minimum_required(VERSION 2.4)
find_package(Threads REQUIRED)
set(facil.io_SOURCES
lib/facil/fio.c
lib/facil/tls/fio_tls_missing.c
lib/facil/tls/fio_tls_openssl.c
lib/facil/fiobj/fio_siphash.c
lib/facil/fiobj/fiobj_ary.c
lib/facil/fiobj/fiobj_data.c
lib/facil/fiobj/fiobj_hash.c
lib/facil/fiobj/fiobj_json.c
lib/facil/fiobj/fiobj_mustache.c
lib/facil/fiobj/fiobj_numbers.c
lib/facil/fiobj/fiobj_str.c
lib/facil/fiobj/fiobject.c
lib/facil/cli/fio_cli.c
lib/facil/http/http.c
lib/facil/http/http1.c
lib/facil/http/http_internal.c
lib/facil/http/websockets.c
lib/facil/redis/redis_engine.c
)
add_library(facil.io ${facil.io_SOURCES})
target_link_libraries(facil.io
PRIVATE Threads::Threads
PUBLIC pthread
PUBLIC m
)
target_include_directories(facil.io
PUBLIC lib
PUBLIC lib/facil
PUBLIC lib/facil/tls
PUBLIC lib/facil/fiobj
PUBLIC lib/facil/cli
PUBLIC lib/facil/http
PUBLIC lib/facil/http/parsers
PUBLIC lib/facil/redis
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化