You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.0 KiB
40 lines
1.0 KiB
7 years ago
|
|
||
|
set(EXTRA_SRC)
|
||
|
if(VIDEO)
|
||
|
list(APPEND EXTRA_SRC
|
||
|
gstqtvideosink/delegates/basedelegate.cpp
|
||
|
gstqtvideosink/delegates/qtquick2videosinkdelegate.cpp
|
||
|
gstqtvideosink/delegates/qtvideosinkdelegate.cpp
|
||
|
gstqtvideosink/delegates/qwidgetvideosinkdelegate.cpp
|
||
|
gstqtvideosink/gstqtglvideosink.cpp
|
||
|
gstqtvideosink/gstqtglvideosinkbase.cpp
|
||
|
gstqtvideosink/gstqtquick2videosink.cpp
|
||
|
gstqtvideosink/gstqtvideosink.cpp
|
||
|
gstqtvideosink/gstqtvideosinkbase.cpp
|
||
|
gstqtvideosink/gstqtvideosinkplugin.cpp
|
||
|
gstqtvideosink/gstqwidgetvideosink.cpp
|
||
|
gstqtvideosink/painters/genericsurfacepainter.cpp
|
||
|
gstqtvideosink/painters/openglsurfacepainter.cpp
|
||
|
gstqtvideosink/painters/videomaterial.cpp
|
||
|
gstqtvideosink/painters/videonode.cpp
|
||
|
gstqtvideosink/utils/bufferformat.cpp
|
||
|
gstqtvideosink/utils/utils.cpp
|
||
|
)
|
||
|
endif()
|
||
|
|
||
|
add_library(VideoStreaming
|
||
|
VideoItem.cc
|
||
|
VideoReceiver.cc
|
||
|
VideoStreaming.cc
|
||
|
VideoSurface.cc
|
||
|
${EXTRA_SRC}
|
||
|
)
|
||
|
|
||
|
target_link_libraries(VideoStreaming
|
||
|
PUBLIC
|
||
|
qgc
|
||
|
)
|
||
|
|
||
|
target_include_directories(VideoStreaming PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||
|
|