Commit fe327d49 authored by Tomaz Canabrava's avatar Tomaz Canabrava Committed by Daniel Agar

Enable Tailsync and Microhard

parent e0bf9527
......@@ -66,12 +66,17 @@ pkg_check_modules(GST
gstreamer-1.0>=1.14
gstreamer-video-1.0>=1.14
)
if (GST_FOUND)
include_directories(
${GST_INCLUDE_DIRS}
src/Taisync
src/Microhard
)
add_definitions(
-DQGC_GST_STREAMING
-DQGC_GST_TAISYNC_ENABLED
-DQGC_GST_MICROHARD_ENABLED
)
endif()
#=============================================================================
......
......@@ -12,6 +12,23 @@ if(MOBILE)
MobileScreenMgr.cc
)
endif()
if(GST_FOUND)
# TODO: Transform those in targets.
list(APPEND EXTRA_SRC
Taisync/TaisyncManager.cc
Taisync/TaisyncHandler.cc
Taisync/TaisyncSettings.cc
Microhard/MicrohardManager.cc
Microhard/MicrohardHandler.cc
Microhard/MicrohardSettings.cc
)
if(ANDROID) # Should also be expanded to iOS
list(APPEND EXTRA_SRC
src/Taisync/TaisyncTelemetry.cc
src/Taisync/TaisyncVideoReceiver.cc
)
endif()
endif()
if(BUILD_TESTING)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment