Commit 77b545c7 authored by Daniel Agar's avatar Daniel Agar

cmake create FlightDisplay library in src/FlightDisplay

parent 5445a7d8
...@@ -6,7 +6,6 @@ include_directories( ...@@ -6,7 +6,6 @@ include_directories(
${Qt5Location_PRIVATE_INCLUDE_DIRS} ${Qt5Location_PRIVATE_INCLUDE_DIRS}
FlightDisplay
FlightMap/Widgets FlightMap/Widgets
FollowMe FollowMe
Joystick Joystick
...@@ -114,8 +113,6 @@ add_library(qgc ...@@ -114,8 +113,6 @@ add_library(qgc
${EXTRA_SRC} ${EXTRA_SRC}
FlightDisplay/VideoManager.cc
FlightMap/Widgets/ValuesWidgetController.cc FlightMap/Widgets/ValuesWidgetController.cc
FollowMe/FollowMe.cc FollowMe/FollowMe.cc
...@@ -175,6 +172,7 @@ add_subdirectory(Camera) ...@@ -175,6 +172,7 @@ add_subdirectory(Camera)
add_subdirectory(comm) add_subdirectory(comm)
add_subdirectory(FactSystem) add_subdirectory(FactSystem)
add_subdirectory(FirmwarePlugin) add_subdirectory(FirmwarePlugin)
add_subdirectory(FlightDisplay)
add_subdirectory(GPS) add_subdirectory(GPS)
add_subdirectory(MissionManager) add_subdirectory(MissionManager)
add_subdirectory(QmlControls) add_subdirectory(QmlControls)
...@@ -213,6 +211,7 @@ target_link_libraries(qgc ...@@ -213,6 +211,7 @@ target_link_libraries(qgc
comm comm
FactSystem FactSystem
FirmwarePlugin FirmwarePlugin
FlightDisplay
gps gps
qwt # LinechartWidget qwt # LinechartWidget
MissionManager MissionManager
......
add_library(FlightDisplay
VideoManager.cc
)
target_link_libraries(FlightDisplay
PUBLIC
qgc
)
target_include_directories(FlightDisplay PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
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