saperasrc: add new plugin for Teledyne DALSA Sapera frame grabbers

This commit is contained in:
Joshua M. Doe
2014-12-11 10:59:54 -05:00
parent 1cec085eca
commit d7851d627f
6 changed files with 840 additions and 0 deletions

26
sys/sapera/CMakeLists.txt Normal file
View File

@@ -0,0 +1,26 @@
add_definitions(-DHAVE_CONFIG_H)
set(SOURCES
gstsaperasrc.cpp)
set(HEADERS
gstsaperasrc.h)
include_directories(AFTER
${SAPERA_INCLUDE_DIR}
.)
add_library(libgstsapera MODULE
${SOURCES}
${HEADERS} )
target_link_libraries(libgstsapera
${GLIB2_LIBRARIES}
${GOBJECT_LIBRARIES}
${GSTREAMER_LIBRARY}
${GSTREAMER_BASE_LIBRARY}
${GSTREAMER_VIDEO_LIBRARY}
${SAPERA_LIBRARIES})
install(TARGETS libgstsapera
LIBRARY DESTINATION lib/gstreamer-1.0)