pleorasrc: initial working plugin for Pleora eBUS SDK U3V and GEV cameras

This commit is contained in:
Joshua M. Doe
2018-05-21 06:50:57 -04:00
parent 8ab8b4c28f
commit 1bc0829d81
5 changed files with 1228 additions and 0 deletions

30
sys/pleora/CMakeLists.txt Normal file
View File

@@ -0,0 +1,30 @@
add_definitions(-D_XKEYCHECK_H)
set (SOURCES
gstpleorasrc.cpp)
set (HEADERS
gstpleorasrc.h)
include_directories (AFTER
${PLEORA_INCLUDE_DIR})
set (libname libgstpleora)
link_directories(${PLEORA_LIBRARIES_DIR})
add_library (${libname} MODULE
${SOURCES}
${HEADERS})
target_link_libraries (${libname}
${GLIB2_LIBRARIES}
${GOBJECT_LIBRARIES}
${GSTREAMER_LIBRARY}
${GSTREAMER_BASE_LIBRARY}
${GSTREAMER_VIDEO_LIBRARY})
set (pdbfile "${CMAKE_CURRENT_BINARY_DIR}/\${CMAKE_INSTALL_CONFIG_NAME}/${libname}.pdb")
install (FILES ${pdbfile} DESTINATION lib/gstreamer-1.0 COMPONENT pdb)
install(TARGETS ${libname}
LIBRARY DESTINATION lib/gstreamer-1.0)