add bitflowsrc, a source for BitFlow framegrabbers

This commit is contained in:
Joshua M. Doe
2016-10-19 11:41:46 -04:00
parent e1ee20c4ad
commit 07473812c1
6 changed files with 798 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
add_definitions (-DHAVE_CONFIG_H)
set (SOURCES
gstbitflowsrc.c)
set (HEADERS
gstbitflowsrc.h)
include_directories (AFTER
${BITFLOW_INCLUDE_DIR})
set (libname libgstbitflow)
add_library (${libname} MODULE
${SOURCES}
${HEADERS})
target_link_libraries (${libname}
${GLIB2_LIBRARIES}
${GOBJECT_LIBRARIES}
${GSTREAMER_LIBRARY}
${GSTREAMER_BASE_LIBRARY}
${GSTREAMER_VIDEO_LIBRARY}
${BITFLOW_LIBRARIES})
set (pdbfile "${CMAKE_CURRENT_BINARY_DIR}/\${CMAKE_INSTALL_CONFIG_NAME}/${libname}.pdb")
install (FILES ${pdbfile} DESTINATION lib/gstreamer-1.0)
install(TARGETS ${libname}
LIBRARY DESTINATION lib/gstreamer-1.0)