pylonsrc: merge Basler Pylon plugin from gst-pylonsrc
Merged from https://github.com/zingmars/gst-pylonsrc This includes some changes to include running gst-indent, and modification to allow it to compile with Visual Studio 2012/VC11.
This commit is contained in:
31
sys/pylon/CMakeLists.txt
Normal file
31
sys/pylon/CMakeLists.txt
Normal file
@@ -0,0 +1,31 @@
|
||||
set (SOURCES
|
||||
gstpylonsrc.c
|
||||
)
|
||||
|
||||
set (HEADERS
|
||||
gstpylonsrc.h)
|
||||
|
||||
include_directories (AFTER
|
||||
${GSTREAMER_INCLUDE_DIR}/..
|
||||
${PYLON_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
set (libname libgstpylon)
|
||||
|
||||
add_library (${libname} MODULE
|
||||
${SOURCES}
|
||||
${HEADERS})
|
||||
|
||||
target_link_libraries (${libname}
|
||||
${GLIB2_LIBRARIES}
|
||||
${GOBJECT_LIBRARIES}
|
||||
${GSTREAMER_LIBRARY}
|
||||
${GSTREAMER_BASE_LIBRARY}
|
||||
${GSTREAMER_VIDEO_LIBRARY}
|
||||
${PYLON_LIBRARIES}
|
||||
)
|
||||
|
||||
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)
|
||||
Reference in New Issue
Block a user