代码拉取完成,页面将自动刷新
cmake_minimum_required(VERSION 2.8.0 FATAL_ERROR)
PROJECT(uvc_app)
include_directories(uvc)
set(LIB_SOURCE
uvc/uvc-gadget.c
uvc/uvc_video.cpp
uvc/yuv.c
uvc/uvc_control.c
uvc/uvc_encode.cpp
uvc/mpi_enc.c
uvc/uevent.c
)
add_library(rkuvc SHARED ${LIB_SOURCE})
target_link_libraries(rkuvc pthread drm rockchip_mpp)
set(SOURCE
main.c
${LIB_SOURCE}
)
ADD_EXECUTABLE(uvc_app ${SOURCE})
target_link_libraries(uvc_app pthread drm rockchip_mpp)
install(TARGETS rkuvc DESTINATION lib)
install(DIRECTORY ./uvc DESTINATION include
FILES_MATCHING PATTERN "*.h")
install(TARGETS uvc_app DESTINATION bin)
install(DIRECTORY . DESTINATION bin
FILES_MATCHING PATTERN "*.sh"
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
GROUP_READ GROUP_WRITE GROUP_EXECUTE
WORLD_READ WORLD_WRITE WORLD_EXECUTE)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。