include_directories(${PROJECT_SOURCE_DIR}/src ${OPENSSL_INCLUDE_DIR})
set (WBT_SRCS
webit.c
webit.h
common/wbt_config.c
common/wbt_config.h
common/wbt_connection.c
common/wbt_connection.h
common/wbt_crc.c
common/wbt_crc.h
common/wbt_file.c
common/wbt_file.h
common/wbt_gzip.c
common/wbt_gzip.h
common/wbt_heap.c
common/wbt_heap.h
common/wbt_list.c
common/wbt_list.h
common/wbt_log.c
common/wbt_log.h
common/wbt_memory.c
common/wbt_memory.h
common/wbt_module.c
common/wbt_module.h
common/wbt_rbtree.c
common/wbt_rbtree.h
common/wbt_ssl.c
common/wbt_ssl.h
common/wbt_string.c
common/wbt_string.h
common/wbt_time.c
common/wbt_time.h
common/wbt_timer.c
common/wbt_timer.h
common/wbt_base64.c
common/wbt_base64.h
common/wbt_auth.c
common/wbt_auth.h
event/wbt_event.h
http/wbt_http.c
http/wbt_http.h
http/wbt_http_consts.c
http/wbt_http_mq.c
http/wbt_http_mq.h
json/wbt_json.c
json/wbt_json.h
mq/wbt_mq.c
mq/wbt_mq.h
mq/wbt_mq_auth.c
mq/wbt_mq_auth.h
mq/wbt_mq_channel.c
mq/wbt_mq_channel.h
mq/wbt_mq_dlq.c
mq/wbt_mq_dlq.h
mq/wbt_mq_msg.c
mq/wbt_mq_msg.h
mq/wbt_mq_persistence.c
mq/wbt_mq_persistence.h
mq/wbt_mq_subscriber.c
mq/wbt_mq_subscriber.h
mq/wbt_mq_replication.c
mq/wbt_mq_replication.h
mq/wbt_mq_cluster.c
mq/wbt_mq_cluster.h
mq/wbt_mq_snowflake.c
mq/wbt_mq_snowflake.h
websocket/wbt_websocket.c
websocket/wbt_websocket.h
bmtp2/wbt_bmtp2.c
bmtp2/wbt_bmtp2.h
bmtp2/wbt_bmtp2_conn.c
bmtp2/wbt_bmtp2_connack.c
bmtp2/wbt_bmtp2_pub.c
bmtp2/wbt_bmtp2_puback.c
bmtp2/wbt_bmtp2_sub.c
bmtp2/wbt_bmtp2_suback.c
bmtp2/wbt_bmtp2_ping.c
bmtp2/wbt_bmtp2_pingack.c
bmtp2/wbt_bmtp2_disconn.c
bmtp2/wbt_bmtp2_window.c
bmtp2/wbt_bmtp2_sync.c)
if (UNIX)
set (WBT_SRCS ${WBT_SRCS}
event/wbt_event_epoll.c
event/wbt_event_epoll.h
os/linux/wbt_os_util.c
os/linux/wbt_os_util.h
os/linux/wbt_process.c
os/linux/wbt_process.h
os/linux/wbt_setproctitle.c
os/linux/wbt_setproctitle.h
os/linux/wbt_terminal.c
os/linux/wbt_terminal.h)
endif (UNIX)
if (WIN32 OR CYGWIN)
set (WBT_SRCS ${WBT_SRCS}
event/wbt_event_select.c
event/wbt_event_select.h
os/win32/wbt_os_util.c
os/win32/wbt_os_util.h
os/win32/wbt_service.c
os/win32/wbt_service.h)
endif (WIN32 OR CYGWIN)
add_executable(bmq ${WBT_SRCS})
set (WBT_SIGN_SRCS
webit_sign.c
common/wbt_base64.c
common/wbt_base64.h)
add_executable(bmq_sign ${WBT_SIGN_SRCS})
set (WBT_LIBS ${WBT_LIBS} ${OPENSSL_LIBRARIES})
if (UNIX)
set (WBT_LIBS ${WBT_LIBS} dl z)
endif (UNIX)
if (WIN32)
set (WBT_LIBS ${WBT_LIBS} ws2_32)
endif (WIN32)
target_link_libraries(bmq ${WBT_LIBS})
target_link_libraries(bmq_sign ${WBT_LIBS})
install(TARGETS bmq RUNTIME DESTINATION ${BINDIR} LIBRARY DESTINATION ${LIBDIR})
install(FILES DESTINATION ${INCLUDEDIR})
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR})
if (UNIX)
install(CODE "EXEC_PROGRAM(/sbin/ldconfig)")
endif (UNIX)
没有合适的资源?快使用搜索试试~ 我知道了~
BitMQ 是一款开源消息队列与消息代理服务端程序
共105个文件
c:56个
h:43个
txt:2个
0 下载量 36 浏览量
2023-10-07
10:30:54
上传
评论
收藏 146KB ZIP 举报
温馨提示
BitMQ 是一款开源消息队列与消息代理服务端程序。BitMQ 支持在 GNU/Linux 以及 Windows 上运行。BitMQ 目前在 Windows 下使用 select 模型,不建议用于高负载环境
资源推荐
资源详情
资源评论
收起资源包目录
BitMQ 是一款开源消息队列与消息代理服务端程序 (105个子文件)
wbt_http.c 33KB
wbt_json.c 27KB
wbt_bmtp2.c 26KB
wbt_http_mq.c 23KB
wbt_rbtree.c 18KB
wbt_mq_persistence.c 17KB
wbt_websocket.c 16KB
wbt_mq_auth.c 16KB
wbt_config.c 15KB
wbt_mq.c 14KB
wbt_event_select.c 14KB
webit.c 12KB
wbt_event_epoll.c 11KB
wbt_connection.c 10KB
wbt_file.c 10KB
wbt_module_helloworld.c 9KB
wbt_http_consts.c 9KB
wbt_bmtp2_pub.c 8KB
wbt_mq_msg.c 8KB
wbt_ssl.c 8KB
wbt_mq_channel.c 8KB
wbt_mq_replication.c 7KB
wbt_mq_subscriber.c 7KB
wbt_module.c 6KB
wbt_string.c 5KB
wbt_base64.c 5KB
wbt_heap.c 5KB
wbt_os_util.c 4KB
wbt_bmtp2_conn.c 4KB
wbt_crc.c 4KB
wbt_log.c 4KB
wbt_service.c 4KB
wbt_os_util.c 4KB
wbt_auth.c 3KB
wbt_gzip.c 3KB
wbt_bmtp2_sub.c 3KB
wbt_memory.c 3KB
wbt_timer.c 2KB
wbt_time.c 2KB
wbt_bmtp2_window.c 2KB
webit_sign.c 2KB
wbt_process.c 2KB
wbt_setproctitle.c 1KB
wbt_bmtp2_sync.c 1KB
wbt_mq_snowflake.c 1KB
wbt_bmtp2_puback.c 1KB
wbt_terminal.c 936B
wbt_bmtp2_suback.c 757B
wbt_bmtp2_connack.c 622B
wbt_bmtp2_pingack.c 497B
wbt_bmtp2_disconn.c 488B
wbt_bmtp2_ping.c 436B
wbt_list.c 192B
wbt_mq_cluster.c 126B
wbt_mq_dlq.c 121B
webit_ctl.c 0B
bmq.conf 3KB
.gitignore 48B
wbt_mq.h 8KB
wbt_http.h 7KB
wbt_bmtp2.h 5KB
wbt_os_util.h 3KB
wbt_os_util.h 3KB
wbt_list.h 3KB
wbt_websocket.h 2KB
wbt_json.h 2KB
wbt_rbtree.h 2KB
wbt_config.h 2KB
wbt_event.h 2KB
wbt_file.h 2KB
wbt_timer.h 2KB
wbt_mq_snowflake.h 2KB
wbt_string.h 2KB
wbt_mq_persistence.h 2KB
wbt_module.h 1KB
wbt_heap.h 1KB
wbt_memory.h 1KB
wbt_log.h 1KB
wbt_mq_msg.h 1KB
wbt_gzip.h 1KB
webit.h 1KB
wbt_mq_replication.h 1KB
wbt_mq_channel.h 1KB
wbt_mq_subscriber.h 1KB
wbt_module_helloworld.h 1KB
wbt_connection.h 914B
wbt_mq_auth.h 813B
wbt_mq_dlq.h 636B
wbt_time.h 590B
wbt_process.h 560B
wbt_base64.h 539B
wbt_ssl.h 517B
wbt_terminal.h 461B
wbt_setproctitle.h 429B
wbt_auth.h 413B
wbt_event_epoll.h 369B
wbt_service.h 363B
wbt_event_select.h 338B
wbt_crc.h 326B
wbt_mq_cluster.h 253B
共 105 条
- 1
- 2
资源评论
Java程序员-张凯
- 粉丝: 1w+
- 资源: 6749
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功