代码拉取完成,页面将自动刷新
cmake_minimum_required(VERSION 3.6.2)
project(zilu_gb28181)
#头文件
include_directories(include)
include_directories(src)
#设置编译参数
set(CMAKE_CXX_FLAGS "-ffunction-sections -fdata-sections -Wall -std=c++11 -DPOSIX -DDEBUG_")
link_directories(${PROJECT_SOURCE_DIR}/lib/m64x86/)
# 设置可执行文件的输出路径(EXCUTABLE_OUTPUT_PATH是全局变量)
set(EXECUTABLE_OUTPUT_PATH ./)
#源文件
add_executable(zilu_gb28181
src/main.cpp
src/utils/tinyxml2.cpp
src/utils/common.cpp
src/utils/ptz/ptz_parser.cpp
src/config_manager.cpp
src/gb_service/sip_server.cpp
src/gb_service/gb28181_svr_manager.cpp
src/gb_service/event_handler/handler_manager.cpp
src/gb_service/event_handler/register_handler.cpp
src/gb_service/event_handler/message_handler.cpp
src/gb_service/event_handler/subscribe_handler.cpp
src/gb_service/event_handler/call_handler.cpp
src/gb_service/event_handler/base_handler.cpp
src/gb_service/manscdp/request_sender.cpp
src/gb_service/manscdp/xml_parser.cpp
src/gb_service/manscdp/xml_assembly.cpp
src/gb_service/request_manager/request_manager.cpp
src/gb_service/request_manager/base_request.cpp
src/gb_service/request_manager/message_request.cpp
src/gb_service/event_handler/sdp/sdp.cpp
src/media_transpond/media_transpond.cpp
src/media_transpond/session_manager.cpp
)
#设置链接库
link_directories(${PROJECT_SOURCE_DIR}/lib/m64x86/)
target_link_libraries(zilu_gb28181 pthread json eXosip2 osip2 osipparser2 uuid ssl crypto resolv yaml StreamResolver)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。