1 Star 2 Fork 2

李工/hackboyun

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
CMakeLists.txt 1.27 KB
一键复制 编辑 原始数据 按行查看 历史
rigensen 提交于 2020-04-25 09:23 . update lib
cmake_minimum_required (VERSION 2.8)
set( APPNAME app )
set(CROSS_COMPILE arm-openwrt-linux)
set(CMAKE_C_COMPILER ${CROSS_COMPILE}-gcc)
set(CMAKE_CXX_COMPILER ${CROSS_COMPILE}-g++)
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
project( ${APPNAME} )
message(${CROSS_COMPILE})
#add_definitions(-DDISP_V2)
add_definitions(-Dhi3518e -DHI_RELEASE -DHI_XXXX)
add_definitions(-DCHIP_ID=CHIP_HI3518E_V200 -DHICHIP=0x3518E200)
add_definitions(-Dhi3518ev200 -DHI_ACODEC_TYPE_INNER)
add_definitions(-DSENSOR_TYPE=OMNIVISION_OV9732_DC_720P_30FPS)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src/include)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src/rtsp/common)
link_directories(${CMAKE_CURRENT_SOURCE_DIR}/libs)
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/src/rtsp DIR_SRCS)
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/src/rtsp/common DIR_SRCS)
add_executable(${APPNAME} ${DIR_SRCS})
set (HISI_SENSOR_LIBS
isp _hiae _hiawb _hiaf _hidefog
pthread m dl
ive md mpi tde upvqe dnvqe VoiceEngine
sns_ov9732
)
set (HISI_MPI_LIBS ive md mpi)
set (HISI_AUDIO_LIBS upvqe dnvqe VoiceEngine)
target_link_libraries(${APPNAME} ${HISI_SENSOR_LIBS})
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/sea18c/hackboyun.git
git@gitee.com:sea18c/hackboyun.git
sea18c
hackboyun
hackboyun
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385