add idsueyesrc, IDS uEye camera source

This commit is contained in:
Joshua M. Doe
2017-03-08 09:29:27 -05:00
parent 27f66a585e
commit ebd5a7f36a
6 changed files with 837 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
add_definitions (-DHAVE_CONFIG_H)
set (SOURCES
gstidsueyesrc.c)
set (HEADERS
gstidsueyesrc.h)
include_directories (AFTER
${IDSUEYE_INCLUDE_DIR})
set (libname libgstidsueye)
add_library (${libname} MODULE
${SOURCES}
${HEADERS})
target_link_libraries (${libname}
${GLIB2_LIBRARIES}
${GOBJECT_LIBRARIES}
${GSTREAMER_LIBRARY}
${GSTREAMER_BASE_LIBRARY}
${GSTREAMER_VIDEO_LIBRARY}
${IDSUEYE_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)