qcamsrc: Initial commit of QImaging QCam video source

This commit is contained in:
Joshua M. Doe
2021-01-19 13:32:47 -05:00
parent 01c65a2d18
commit c72458c918
6 changed files with 864 additions and 0 deletions

33
sys/qcam/CMakeLists.txt Normal file
View File

@@ -0,0 +1,33 @@
set (SOURCES
gstqcamsrc.c)
set (HEADERS
gstqcamsrc.h)
include_directories (AFTER
${QCAM_INCLUDE_DIR}
)
set (libname gstqcam)
add_library (${libname} MODULE
${SOURCES}
${HEADERS})
set (LIBRARIES
${GLIB2_LIBRARIES}
${GOBJECT_LIBRARIES}
${GSTREAMER_LIBRARY}
${GSTREAMER_BASE_LIBRARY}
${GSTREAMER_VIDEO_LIBRARY}
${QCAM_LIBRARIES}
)
target_link_libraries (${libname}
${LIBRARIES}
)
if (WIN32)
install (FILES $<TARGET_PDB_FILE:${libname}> DESTINATION ${PDB_INSTALL_DIR} COMPONENT pdb OPTIONAL)
endif ()
install(TARGETS ${libname} LIBRARY DESTINATION ${PLUGIN_INSTALL_DIR})