matroxsrc: add first working version of Matrox Imaging Library source

This commit is contained in:
Joshua M. Doe
2017-05-09 13:39:16 -04:00
parent 62d1b1f6fd
commit 376fbb5fd2
6 changed files with 885 additions and 0 deletions

29
sys/matrox/CMakeLists.txt Normal file
View File

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