gst-plugin-linescan/sys/pleora/CMakeLists.txt
Joshua M. Doe 995bcca23b pleorasink: add GigE Vision sink for eBUS GEV Tx API
Most basic working implementation
2019-11-07 09:17:49 -05:00

36 lines
784 B
CMake

add_definitions(-D_XKEYCHECK_H)
set (SOURCES
gstpleora.cpp
gstpleorasink.cpp
gstpleorasrc.cpp
streamingchannelsource.cpp)
set (HEADERS
gstpleorasink.h
gstpleorasrc.h
streamingchannelsource.h)
include_directories (AFTER
${PLEORA_INCLUDE_DIR})
set (libname libgstpleora)
link_directories(${PLEORA_LIBRARIES_DIR})
add_library (${libname} MODULE
${SOURCES}
${HEADERS})
target_link_libraries (${libname}
${GLIB2_LIBRARIES}
${GOBJECT_LIBRARIES}
${GSTREAMER_LIBRARY}
${GSTREAMER_BASE_LIBRARY}
${GSTREAMER_VIDEO_LIBRARY})
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)