| | |
| | | set(CMAKE_BUILD_TYPE debug) |
| | | add_compile_options(-fPIC) |
| | | add_definitions(-DGLOG) |
| | | add_definitions(-DGB28181) |
| | | add_definitions(-DDEBUG_ERR -DDEBUG_INFO -fpermissive) |
| | | add_definitions(-Wall -Wextra) |
| | | SET(LIBS |
| | |
| | | Ice |
| | | |
| | | crypto |
| | | |
| | | mysqlpp |
| | | |
| | | #ffmpeg |
| | | avformat |
| | |
| | | jsoncpp |
| | | pthread |
| | | hiredis |
| | | 28181sdk |
| | | mysqlclient |
| | | StreamParse |
| | | |
| | | ) |
| | | include_directories( |
| | | |
| | | #glog |
| | | ../../../BasicPlatForm/libs/glog/include |
| | | ./rpc |
| | |
| | | ../VideoServer/QiaoJia/DB |
| | | ../VideoServer/QiaoJia/dispatchTool |
| | | ../StructureApp/ |
| | | ../GB28181DecoderModel |
| | | ../VideoToImageMulth |
| | | |
| | | ../../../BasicPlatForm/basic/pipe_element/ffmpeg/ |
| | | ../../../BasicPlatForm/basic/debug/ |
| | | ../../../BasicPlatForm/ |
| | | |
| | | ../../../BasicPlatForm/basic/pipe/ |
| | | |
| | | |
| | | |
| | | ../../../BasicPlatForm/libs/opencv/include |
| | |
| | | |
| | | ../../BasicPlatForm/libs/hiredis-master/include |
| | | ../../../BasicPlatForm/basic/timer_counter/ |
| | | ../../../BasicPlatForm/libs/GB28181/include |
| | | |
| | | ../../../BasicPlatForm/libs/mysqlpp/include |
| | | ../../../BasicPlatForm/libs/mysql/include/mysql/ |
| | | ) |
| | | |
| | | link_directories( |
| | | ../../../BasicPlatForm/libs/GB28181/libs |
| | | #glog |
| | | ../../../BasicPlatForm/libs/glog/lib |
| | | ../../../BasicPlatForm/libs/openssl/lib |
| | |
| | | ../../../BasicPlatForm/libs/ffmpeg/lib |
| | | ../../../BasicPlatForm/libs/jsoncpp/lib |
| | | |
| | | # ../../../BasicPlatForm/libs/libuuid/lib |
| | | # ../../../BasicPlatForm/libs/libuuid/lib |
| | | ../../../BasicPlatForm/libs/Ice-3.7.0/lib64 |
| | | |
| | | ../../../BasicPlatForm/libs/hiredis-master/lib |
| | | ../../../BasicPlatForm/libs/mysqlpp/lib |
| | | ../../../BasicPlatForm/libs/mysql/lib |
| | | ) |
| | | |
| | | add_executable(${PROJECT_NAME} |
| | | ../../../BasicPlatForm/basic/pipe_element/ffmpeg/VideoChangeScore.cpp |
| | | |
| | | ./pushStream/PushStreamAppPipeController.cpp |
| | | ../GB28181DecoderModel/FFmpegDecoderJPG.cpp |
| | | ../GB28181DecoderModel/GB28181Server.cpp |
| | | ../GB28181DecoderModel/VideoCaptureElementWithRtp.cpp |
| | | # ../../../BasicPlatForm/basic/pipe_element/ffmpeg/VideoChangeScore.cpp |
| | | ../../../BasicPlatForm/basic/util/BASE64/Base64.cpp |
| | | # ../../../BasicPlatForm/basic/pipe_element/ffmpeg/FfmpegElement.cpp |
| | | ../VideoServer/QiaoJia/DB/LDBTool.cpp |
| | | ./rpc/RtspAnalysServer.cpp |
| | | RtspCaptureElement.cpp |
| | | RtspAnalysManager.cpp |
| | | ../StructureApp/HiredisTool.cpp |
| | | ../../../BasicPlatForm/basic/timer_counter/Clocktimer.h |
| | | ../../../BasicPlatForm/basic/timer_counter/Clocktimer.cpp |
| | | ./RtspImageRedis.h |
| | | ./RtspImageRedis.cpp |
| | | main.cpp |
| | | # ../../../BasicPlatForm/basic/pipe_element/ffmpeg/FfmpegElement.cpp |
| | | ../VideoServer/QiaoJia/DB/LDBTool.cpp |
| | | ./rpc/RtspAnalysServer.cpp |
| | | RtspCaptureElement.cpp |
| | | RtspAnalysManager.cpp |
| | | ../StructureApp/HiredisTool.cpp |
| | | ../../../BasicPlatForm/basic/timer_counter/Clocktimer.h |
| | | ../../../BasicPlatForm/basic/timer_counter/Clocktimer.cpp |
| | | ../../../BasicPlatForm/basic/util/net_config/net_config.cpp |
| | | ./RtspImageRedis.h |
| | | ./RtspImageRedis.cpp |
| | | main.cpp |
| | | ) |
| | | target_link_libraries(${PROJECT_NAME} |
| | | ${LIBS} |